developmentseed / developmentseed/geodini
Return GeoJSON?
- Dominant language
- Python
- Stars
- 10
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
The Geodini response is currently not valid [GeoJSON](https://geojson.org/), but very close.
https://github.com/sunu/geodini/blob/5d7afaf26cc5bc6deafd74f764f86fd08c8360bc/geodini/agents/geocoder_agent.py#L252-L260
If you just wrap that into a `"type": "Feature"` and move the non-geometry information into `"properties"`, maybe the list of results into a `"FeatureCollection"`, that would do it.
WDYT?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in geodini/agents/geocoder_agent.py around lines 252-260, where the current response is assembled. Review the existing response shape and update it to use a GeoJSON Feature, or a FeatureCollection for multiple results, with non-geometry data under properties. Done means the response conforms to the GeoJSON structure described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100