[ckan-discuss] Conventions for Location related extras (Was Geographic Metadata)

Adrià Mercader amercadero at gmail.com
Tue May 31 22:57:31 BST 2011


El 31 de maig de 2011 13:33, Rufus Pollock <rufus.pollock at okfn.org> ha escrit:
> Like Will I'm +2. Probably have a mild preference for location over
> extent but like you don't care too much :-)
Location it is then :)
Friedrich suggested, quite rightly IMO, location-uri instead of
location-ld for the Linked Data one, so if no one else has anything to
add, I would suggest this convention:

* location-text: Textual representation of the extent / location of the package
* location: GeoJSON representation of the extent of the package
(Polygon or Point)
* location-uri: Linked Data URI representing the place name

2 examples:

* location-text: United Kingdom
* location: { "type": "Polygon",  "coordinates": [ [ [0.50, 49.74],
[0.5, 59.25], [-6.88, 59.25], [-6.88, 49.74], [0.50, 49.74] ] ] }
* location-uri: http://www.geonames.org/2635167

* location-text: Matsushima
* location: { "type": "Point",  "coordinates": [ 38.36, 141.07] }
* location-uri: http://www.geonames.org/2111964



More information about the ckan-discuss mailing list