Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint returns invalid geojson: coordinates are strings instead of numbers #1050

Open
pietervdvn opened this issue Jun 9, 2023 · 0 comments

Comments

@pietervdvn
Copy link

Hi,

An API call to /v2/challenge/view (e.g. https://maproulette.org/api/v2/challenge/view/39519) returns an invalid geojson: the coordinates should be an array of numbers (e.g. [12.34, 5.67]) but this returns an array of strings, containing the numbers (e.g. ["12.34", "5.67"]) causing a whole heap of bugs in my programs.

Example output screenshot:

image

The full response can be found in this zip-file: challenge_geojson.json.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant