-
Notifications
You must be signed in to change notification settings - Fork 4
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
Geojson polygons are losing specificity, recording values as "inf" #11
Comments
What I got in Heroku was an application break, and then later when I tried locally with our changes, I got "no data received" and nothing was sent. But the files did upload. They just didn't get transmitted. I'm also going to share the two posts I sent you here to keep things in one place: http://flask.pocoo.org/docs/0.12/patterns/fileuploads/#uploading-files (Uploading Files: A General Introduction) http://flask.pocoo.org/docs/0.12/security/#xss (Security Considerations: Cross Site Scripting XSS) I'm definitely going to try and help out. |
Taking a look at the differences between raw sample json vs the Also of note -- the sample json geometry objects are polygons, whereas the geojson objects are multipolygons. |
I remember seeing |
Two places to see this in action:
Snapshot of breakpoint in app:
In
geometry \"inf\" debugging.ipynb
on thedebug-inf
branch. Explore both raw and processed data. The.to_crs(fiona.crs.from_epsg(2263))
is the root of the polygon value conversions.This occurs in both
master
andmore-headings
(#9 pr) branches.EDIT
Not sure if the infs are invalid, or merely the representation for real numbers. Either way, when I try to extract a single, transformed polygon through the Jupyter notebook, it kills my kernel.
Unrelated, but potentially relevant: WikiWatershed/rapid-watershed-delineation#27.
Not sure if that applies to us. Maybe someone that worked with the geopandas library will have insight?
The text was updated successfully, but these errors were encountered: