mapbox / geojson.io

A quick, simple tool for creating, viewing, and sharing spatial data
http://geojson.io/
ISC License
1.89k stars 562 forks source link

Support MultiPolygon editing #617

Closed PaulDMendoza closed 1 year ago

PaulDMendoza commented 6 years ago

I'm trying to edit this file.

http://leafletjs.com/examples/choropleth/us-states.js

I've removed the variable declaration and semicolon at the end to convert it to JSON and that's fine. When I put it into GeoJSON.io it actually loads the file fine. But when I go to edit one of the states, it doesn't work and starts throwing lots of errors.

image

This is using Chrome 65

I'm encountering this error a lot today with lots of different geojson files. Here is an example of another file I"m seeing this error with.

QC.json.txt

tmcw commented 6 years ago

geojson.io lacks MultiPolygon support, and that file has many of them: ref https://github.com/mapbox/geojson.io/issues/606#issuecomment-371709889

Ideally the future development of geojson.io will fix that.

timharper27 commented 6 years ago

Hello there Disclaimer: I'm a geojson user, not a developer. Can somebody explain whether the issue with editing an imported polygon is related to this report? image Editing a newly added polygon seems to work just fine ^^?

Is there any way I can use the drag and drop editing functionality with an imported /saved polygon currently? Thanks in advance

chriswhong commented 1 year ago

Closing, MultiPolygon editing is working now.