6

I am setting up a community-based mapping solution for a local NGO. They need their own maps and I have decided to go with MapBox.

It's good to use MapBox technology as it is scalable, modifiable and, using their iD editor, should allow user edits.

However, I cannot work out how to make my maps editable.

For example, how would I add an editor that would allow this layer of points to be modified, allowing new users to create new points just like on OpenStreetMap (OSM)?

I know it can be done with GeoServer, but want to retain the beautiful simplicity of MapBox for this one.

2 Answers 2

3

The short answer is to use geojson.io.

I was directed to this by MapBox developers on their IRC channel - allows multi-person on-line editing of geo data. It's lightweight, open sources, allows control of the data and, with github teams, allows it to be collaborative or taken into private ownership.

Regarding iD, no it's not possible unless you are editing an OSM-based geo-database seems to be the answer atm, although this may change, as it's a completely open source project, so can be forked in any direction.

geojson.io and the other technologies MapBox will be very useful in the GIS/web mapper's toolkit in the coming years.

1

This might be possible depending on how much editing you'd like available for your maps. Please see Leaflet.draw for more information on adding and editing interface for your map. Any edit events would need to be saved to a static geoJSON asset and then reloaded onto the map. If you're only looking to collaboratively add markers then mapbox's markerlayer has a loadURL method.

For a more collaborative editing experience I'd recommend together.js

FYI, geojson.io's interface will be better integrated with mapbox.com within the coming year.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.