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

Select all for Oceana Alternative does not select all #19

Closed
cybersea opened this issue Mar 10, 2018 · 1 comment
Closed

Select all for Oceana Alternative does not select all #19

cybersea opened this issue Mar 10, 2018 · 1 comment
Labels
bug Something isn't working Priority - 1

Comments

@cybersea
Copy link
Owner

Only 58 out of 68 polygons getting selected. Getting a topology error with turf.js

jsts.error.TopologyErrormessage: "found non-noded intersection between LINESTRING ( -124.316656 40.116665, -124.382652 40.166662 ) and LINESTRING ( -124.381326 40.166662, -124.384388 40.166662 ) [ (-124.382652, 40.166662) ]"

@cybersea
Copy link
Owner Author

The problematic coordinate is in Oceana's Spanish Canyon. (Also in the Remove RCA Alternative -- so it must be along state boundary). Checked topology in ArcGIS and it found no errors. Tried updated to turf.js v.3.5.1, but still get error.

Looks like a potential issue in the library underlying turf.js.
Turfjs/turf#297
Turfjs/turf#463
Turfjs/turf#1004
Turfjs/turf#1132

For now, the quick fix is to remove that point from the GeoJson file

@cybersea cybersea added bug Something isn't working Priority - 1 labels Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority - 1
Projects
None yet
Development

No branches or pull requests

1 participant