-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
CSV sources have lat and lon flipped #90
Comments
It does not appear as though this is a widespread issue and is instead specific to this source The following are CSV sources that work as expected: |
I went through 10 or 15 other CSV sources and am not seeing any issues with the exception of this source. As such I'm going for the decision to simply flip the coords: openaddresses/openaddresses#5594 |
Thanks for looking. I think we've flipped these back and forth a couple times before if you look at the history of that file. Let's see what the output looks like. |
This seems to happen again, please check openaddresses/openaddresses#5908 |
Could you try to define Lines 194 to 199 in ba9c2e1
See docs:
|
@stefanb This code operated on the output of GeoJSON sources, so the coordinate order is known good. The code to take the OA sources and convert them to GeoJSON lives here: https://github.com/openaddresses/batch-machine |
Tnx @ingalls for the pointer! I find it rather strange that test conform definitions changed in openaddresses/batch-machine#15. IMO lat & lon field mappings should not be swapped in there. |
Please check openaddresses/openaddresses#5917 for the timeline. |
For some reason a shapefile source in openaddresses/openaddresses#5907 is also converted to .csv with flipped coordinates. See openaddresses/openaddresses#5907 (comment) Is it converting to csv to generate preview image? |
|
Collating all the reported issues, from what I can see this is not an issue to any particular source, so if okay we should close all these tickets and create a new pinned ticket (given the severity and the incoming new tickets) until this is resolved?
|
Shapefiles have the same problem in some cases, see: openaddresses/openaddresses#5907 (comment) |
@stefanb You were correct, these should not have been flipped in tests. I'm working through a bunch of these issues here: openaddresses/batch-machine#25 |
In openaddresses/openaddresses#5909 I have determined, that this is not a problem with CSV anymore. However, while adding a new shapefile source with building footprints in openaddresses/openaddresses#5907 the lat & lon still appear to be flipped |
Opened openaddresses/batch-machine#26 for shapefiles |
As reported in openaddresses/openaddresses#5465
It looks like the source is specified correctly because the existing machine generates the correct output, but batch seems to be generating output with lat/lon flipped.
The text was updated successfully, but these errors were encountered: