<div dir="ltr"><div><div>Thanks Martin and Simon.<br><br></div>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).<br><br>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?<br><br></div>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. <br><br> <br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 24, 2017 at 1:29 AM, Simon Poole <span dir="ltr"><<a href="mailto:simon@poole.ch" target="_blank">simon@poole.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>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). <br>
</p>
<p>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).<span class="HOEnZb"><font color="#888888"><br>
</font></span></p><span class="HOEnZb"><font color="#888888">
<p>Simon<br>
</p></font></span><div><div class="h5">
<br>
<div class="m_3880523858362892356moz-cite-prefix">Am 23.04.2017 um 18:46 schrieb Viet
Nguyen:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>Hello,<br>
<br>
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.<br>
<br>
</div>
TLDR;<br>
<div>I want to experiment with creating polygons describing rock
climbing areas and submit them to OSM. <br>
<br>
<a href="https://lists.openstreetmap.org/pipermail/talk/2017-April/077879.html" target="_blank">https://lists.openstreetmap.<wbr>org/pipermail/talk/2017-April/<wbr>077879.html</a><br>
<br>
</div>
<div>Viet<br>
</div>
</div>
<br>
<fieldset class="m_3880523858362892356mimeAttachmentHeader"></fieldset>
<br>
</div></div><span class=""><pre>______________________________<wbr>_________________
dev mailing list
<a class="m_3880523858362892356moz-txt-link-abbreviated" href="mailto:dev@openstreetmap.org" target="_blank">dev@openstreetmap.org</a>
<a class="m_3880523858362892356moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/dev" target="_blank">https://lists.openstreetmap.<wbr>org/listinfo/dev</a>
</pre>
</span></blockquote>
<br>
</div>
</blockquote></div><br></div>