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

Strip out z dimension on geojson uploads #1629

Closed
spwoodcock opened this issue Jul 4, 2024 · 4 comments
Closed

Strip out z dimension on geojson uploads #1629

spwoodcock opened this issue Jul 4, 2024 · 4 comments
Assignees
Labels
backend Related to backend code bug Something isn't working effort:low Likely a few hours priority:low Backlog of tasks that will be addressed in time

Comments

@spwoodcock
Copy link
Member

Describe the bug

  • We don't need z dimension in any of our geojsons.
  • Some software includes this in coordinates, e.g. part of a polygon: [[54, 45, 0], [[55, 45, 0]]]

Expected behavior

  • We should remove the z dimension somewhere in postgis_utils and try to standardise all geojson usage.
@spwoodcock spwoodcock added the bug Something isn't working label Jul 4, 2024
@spwoodcock spwoodcock added the backend Related to backend code label Jul 4, 2024
@Sujanadh
Copy link
Collaborator

Sujanadh commented Jul 5, 2024

@spwoodcock can you provide me geojson having z coordinates ? that will be great help 🙏

@spwoodcock
Copy link
Member Author

I actually got this requirement from a geojson you sent me 😄

2024-07-03_Kroo_Bay_AOI.geojson.txt

I was never aware the z dimension was included in the geojson spec!

@Sujanadh
Copy link
Collaborator

Sujanadh commented Jul 5, 2024 via email

@spwoodcock spwoodcock added priority:low Backlog of tasks that will be addressed in time effort:low Likely a few hours labels Jul 18, 2024
@spwoodcock
Copy link
Member Author

Closing, this is handled by standardised GeoJSON parser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code bug Something isn't working effort:low Likely a few hours priority:low Backlog of tasks that will be addressed in time
Projects
Development

No branches or pull requests

2 participants