Sophox / sophox

A collection of services exposing OSM data, metadata, and other microservices
Apache License 2.0
31 stars 5 forks source link

Support GeoSPARQL functions #17

Open 1ec5 opened 4 years ago

1ec5 commented 4 years ago

Sophox currently provides the geof:distance function but none of the other GeoSPARQL functions. These functions would expand Sophox’s use cases to the point where it might begin to be a tool of choice for some OSM analysis needs. For example:

Combined with access to full geometries (#16), these functions would enable a much wider range of use cases, for example:

These use cases currently require the Overpass API, which can easily run into memory or runtime limits over large or dense enough areas.

This Phabricator ticket tracks enabling the same functions in the Wikidata Query Service.

camelCaseNick commented 3 years ago

geof:within would be especially helpful in conjunction with a limited to region property, in contrast to P48, directly linking to the boundary relations. (see Talk:Data items → Geographical regions as qualifiers)