This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How to add/delete using iD that store to local table?

0

Hi All,

I want to add a layer that user can ADD/DELETE data that uses OSM iD javascript editor? Is it could be done?

How each user edited data to save on special table and can be reloaded?

It's possible to do this using OSM application/module?

Best Regards, Joao Kho

asked 20 Apr '15, 03:58

Joao%20Kho's gravatar image

Joao Kho
11223
accept rate: 0%

edited 20 Apr '15, 14:00

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

1

could you describe your idea a bit more? Are you thinking of a private data layer? Do you want to save locally on your computer? For which use case?

(20 Apr '15, 14:00) aseerel4c26 ♦

my idea is like this: OSM layer (import from planet to render database) as base layer. and then i has overlay layer that can be editable using iD and could be save into other database and could be reload next time. It's something like www.openstreetmap.org but edit is only to overlay layer, not OSM layer (base layer)

(21 Apr '15, 05:11) Joao Kho

One Answer:

0

This is not possible with the standard iD editor. However, the code is open source, so you could install your own version of it on your servers and modify it to do what you want. "Just" a few lines of JavaScript code and a backend server with a database to store your specific data.

answered 21 Apr '15, 11:07

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

Source code available on GitHub .