Basically the GeoJSON property in the "uris table" needs to be a fully-qualified (relative) URI with a {id} block in order for the URIForId method to work.
But if we change the GeoJSON property we need to make sure that a plain old "/geojson" URI in the GeoJSONAlt property list continues to work for "/123/456/123456.geojson" style URIs.
Or we could just write a bespoke "geojson" template function and carry on.
Raw data (GeoJSON)
links in the right-hand sidebar are missing WOF IDs. For example:https://spelunker.whosonfirst.org/id/404227779
Basically the
GeoJSON
property in the "uris table" needs to be a fully-qualified (relative) URI with a{id}
block in order for theURIForId
method to work.But if we change the
GeoJSON
property we need to make sure that a plain old "/geojson" URI in theGeoJSONAlt
property list continues to work for "/123/456/123456.geojson" style URIs.Or we could just write a bespoke "geojson" template function and carry on.
See: