[OSM-dev] Javascript library for the editing-API (not overpass)

Simon Poole simon at poole.ch
Mon Apr 24 17:27:52 UTC 2017

Am 24.04.2017 um 18:36 schrieb Viet Nguyen:
> Thanks Martin and Simon.
> It was my intention to reach out for suggestions before writing
> anything to OSM db (and of course not without some testing with the
> dev instance).
> Simon, can you please clarify what you meant by 'there is no other
> data there'?  Are you referring to the risk of creating empty relations?
I was referring to crag and other relevant data already being present in
OSM (note that your proposed app will lead to such situations even if
you believe that it currently can't happen).


> Before writing to OSM my app would have to convert Geojson polygons
> (its native format) to OSM list of nodes similar to areas in iD.
> On Mon, Apr 24, 2017 at 1:29 AM, Simon Poole <simon at poole.ch
> <mailto:simon at poole.ch>> wrote:
>     Martin has already pointed to the iD repo. But some further
>     comments from my side: simply creating objects and writing them to
>     the OSM DB is fairly easy, however there is an unspoken assumption
>     in your concept: that there is no other data there. In reality
>     that will not be universally true and will add complications that
>     you likely don't want to deal with (or if you ignore them you will
>     not want to deal with being publicly roasted because your app
>     starts breaking things).
>     I would really suggest building on existing code except if you
>     want to write the equivalent of a full blown editor all on your
>     own (which is a couple of man years of work).
>     Simon
>     Am 23.04.2017 um 18:46 schrieb Viet Nguyen:
>>     Hello,
>>     I'm a new subscriber.  I have looked on Github, iD repo, and npm
>>     but haven't found a Javascript that can be used with the editing
>>     API.  Before rolling my own library (JS is not my strong suit) I
>>     thought I should check with members of the dev list.
>>     TLDR;
>>     I want to experiment with creating polygons describing rock
>>     climbing areas and submit them to OSM. 
>>     https://lists.openstreetmap.org/pipermail/talk/2017-April/077879.html
>>     <https://lists.openstreetmap.org/pipermail/talk/2017-April/077879.html>
>>     Viet
>>     _______________________________________________
>>     dev mailing list
>>     dev at openstreetmap.org <mailto:dev at openstreetmap.org>
>>     https://lists.openstreetmap.org/listinfo/dev
>>     <https://lists.openstreetmap.org/listinfo/dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20170424/eb8c5607/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20170424/eb8c5607/attachment-0001.sig>

More information about the dev mailing list