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

JSON->GeoJSON: If nodes/spans have bad geometries, don't include them in output data. Include info in meta. #39

Open
odscjames opened this issue Nov 16, 2022 · 0 comments

Comments

@odscjames
Copy link
Collaborator

In Open-Telecoms-Data/cove-ofds#45 @lgs85 tried to some JSON data with a node with this location.

  "location": {
              "type": "Pint",
              "coordinates": [
                -0.174,
                5.625
              ]
            },

This produced dodgy output that crashes the map renderer.

The converter should check for bad location input and not process it, and include info on this bad input in the meta output.

(This issue can just be about "location" fields - there may be another issue wanted about what happens if other input data is bad, such as an organisation)

ps. Also related to #27

@odscjames odscjames changed the title JSON->GeoJSON: If nodes/spans dave bad geometries, don't include them in output data. Include info in meta. JSON->GeoJSON: If nodes/spans have bad geometries, don't include them in output data. Include info in meta. Nov 16, 2022
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