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

coordinates must be finite numbers #182

Open
jessegpierce opened this issue Jul 7, 2022 · 4 comments
Open

coordinates must be finite numbers #182

jessegpierce opened this issue Jul 7, 2022 · 4 comments

Comments

@jessegpierce
Copy link

I get 'coordinates must be finite numbers' error with the shapefile in this zip folder: https://www.eia.gov/maps/map_data/NaturalGas_InterIntrastate_Pipelines_US_EIA.zip
image

Any way to fix this?

@calvinmetcalf
Copy link
Owner

try deleting the .prj file from the zipfile and try again it's actually an error in the library that transforms coordinates to lat lngs, but no transformation is needed here so that might fix it.

@jessegpierce
Copy link
Author

That did it, thanks!

@calvinmetcalf
Copy link
Owner

calvinmetcalf commented Jul 8, 2022 via email

@andrea-spotsoftware
Copy link

andrea-spotsoftware commented Nov 20, 2023

the bigger issue is that that shapefile has a zero length line in it, which is technically legal so I'll push something up that handles that better.

On Fri, Jul 8, 2022 at 9:53 AM jessegpierce @.> wrote: That did it, thanks! — Reply to this email directly, view it on GitHub <#182 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAITRH6SXCCGYBSA36JMTS3VTAXGLANCNFSM5263T33A . You are receiving this because you commented.Message ID: @.>
-- -Calvin W. Metcalf

Hello @calvinmetcalf, any update on this? In my use case, deleting the .prj is fixing the error, but anything is printed on leaflet (I am using the Leaflet plugin).

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

3 participants