pelias / spatial

ALPHA: geographic data service backed by spatialite
https://spatial.demo.geocode.earth
29 stars 6 forks source link

Improved place ontology #4

Open missinglink opened 5 years ago

missinglink commented 5 years ago

Places are currently classified with [type, class] (eg. 'admin', 'neighbourhood'), this ontology is not currently being used, other than for display.

Some more thought about a simple-yet-flexible place ontology could be very beneficial for discovering and filtering of places within the system.

In particular, it would be ideal if we could support a 'place rank' concept, so that discrete data sources could map their ontology to a common ranking dimension in a way that allows comparing two places:

I suspect this will be fairly difficult to do for OSM without first having the country-code, the semantics of their administrative_level tag integer values vary based on the country.

ref: https://wiki.openstreetmap.org/wiki/Tag:boundary%3Dadministrative ref: https://github.com/whosonfirst/whosonfirst-placetypes

missinglink commented 5 years ago

related https://github.com/whosonfirst/whosonfirst-placetypes/issues/12