I want to add points to OSM using API. Is it possible? If it does, can you give me an example? For example if i want to add this point
i can add it using OSM website... how to do the same through API? asked 03 Oct '14, 10:20 Andreanovenove |
general hints about your aim can be found in the OSM wiki about Imports. Read all instructions there carefully! and there are already some solutions maybe similar to yours: Yapis and wheelmap.org EDIT: also found one more opensource webservice: poickecker.de answered 03 Oct '14, 12:26 stephan75 My import isn't a bulk import. It would be a form (website or app) in which user insert LAT, LON and his details (name, city, address, and so on...) and then this is posted to OSM. Is it possible?
(03 Oct '14, 14:15)
Andreanovenove
3
it is possible, as this exactly what the editors are doing. The two examples mentioned above make sure that we do not end up with doubles. How are you going to verify that the POIs entered through your interface do not already exist in OSM ? You will not be able to do this automatically, a manual review has to take place before uploading any data to OSM.
(03 Oct '14, 17:01)
escada
Sorry, i do not understand how the 2 examples do not need to verify if the POIs already exist.
(03 Oct '14, 17:07)
Andreanovenove
2
IIRC Yapis is doing an API request around the point that is to be added to OSM, and thus the user gets a list with POIs already contained in OSM around his "own". Then the user has to decide whether his POI is already in OSM or not.
(03 Oct '14, 17:46)
stephan75
The same can do my application. So what is the code to implement this? How to just add a point with LAT, LON and user details using API?
(03 Oct '14, 18:32)
Andreanovenove
2
I would start reading at http://wiki.openstreetmap.org/wiki/API_v0.6 Or see http://wiki.openstreetmap.org/wiki/Editing and look further for opensource software there.
(03 Oct '14, 20:33)
stephan75
2
What I meant to say is that those two applications are written in such a way (or have a procedure implemented) that makes sure that they do not automatically add POIs to the OSM database. In this way they prevent doubles. They do not have a special status that allows them to blindly add data
(04 Oct '14, 11:48)
escada
2
Let me add onosm.org to this list. Generates "notes" based on user entry.
(05 Oct '14, 02:55)
aseerel4c26 ♦
showing 5 of 8
show 3 more comments
|
Please tell us FIRST:
is that the only point you want to import, or du you plan a bulk import for many objects?
What is YOUR data source about address and coordinates?
This query is also cross posted on the forum http://forum.openstreetmap.org/viewtopic.php?pid=454231#p454231
It is not the only point i want to import, i plan to add several points. The source is a form, in which users add their own details.
Sorry for crossposting on the forum :(