Repository navigation
Feature: Output as geojson Feature Collection - #86
Conversation
|
Thank you for this! Geojson responses are something I would love to support. I have a few changes I'd like to make to your implementation though: I'll try and get to these over the next few weeks
So the complete response would be something like { "type": "FeatureCollection",
"features": [
{ "type": "Feature",
"geometry": {"type": "Point", "coordinates": [122.1, -42.1, 1234]},
"properties": {"dataset": "test-dataset"}
},
{ "type": "Feature",
"geometry": {"type": "Point", "coordinates": [122.2, -42.1, 2345]},
"properties": {"dataset": "test-dataset"}
}
]
}Would such a format still be useful for you? |
|
Hi, thanks for your input. I'm working on it.
Not really, but I already minimized the API to my needs (remove CORS-check, only allow POST jsonised, hardcoded values, etc.) so it doesn't matter 😄 |
|
Love the Lat-Lon or Lon-Lat discussion 😅
|
|
Ready for review 😄 |
|
Amazing thank you! I have seen this, will get it merged as soon as life allows. |
|
@ajnisbet Any news here? 😃 |
Heyo, I needed the geojson format for my project and thought it might be useful for someone else.
The parameter is set via config.yaml so that the format of the API can't be changed by mistake.