Skip to content

Commit

Permalink
Add option to fetch geometries via geo:hasGeometry/geo:asWKT (#10)
Browse files Browse the repository at this point in the history
* Update the geometry predicate for OSM

So far, the code supported getting the geometries via `geo:hasGeometry`
(old osm2rdf style) and via `wdt:P625` (Wikidata style). Since November,
the TTLs provided on https:/osm2rdf.cs.uni-freiburg.de provide the
geometries via geo:hasGeometry/geo:asWKT, which is now also supported.

TODO: The selection between is currently hard-coded, based on the name
of the backend. We should find a more elegant and robust mechanism for
this.

* make duplicate report a DEBUG message, output cumulative number of duplicates, update util lib, don't output WKT bbox in log if box is empty (ugly)

---------

Co-authored-by: Hannah Bast <[email protected]>
Co-authored-by: Patrick Brosi <[email protected]>
  • Loading branch information
3 people authored Jan 12, 2024
1 parent 4fa9368 commit eeb5cab
Show file tree
Hide file tree
Showing 4 changed files with 179 additions and 134 deletions.
Loading

0 comments on commit eeb5cab

Please sign in to comment.