waagsociety / citysdk-ld

CitySDK Linked Data API
MIT License
60 stars 4 forks source link

GeoJSON output of single object: FeatureCollection or Feature #10

Open bertspaan opened 10 years ago

bertspaan commented 10 years ago

In line with calls to /layers/ and /layers/:layer (the first returns a JSON array, the second a single JSON object), should we decide to return a GeoJSON FeatureCollection on calls to /objects and a single GeoJSON Feature on calls to /objects/:cdk_id?

Currently, all object calls return FeatureCollection.