<div dir="ltr"><div>Ok, very good info here.</div><div>So I understood the "tricky" part.</div><div><br></div><div>Another solution would be an application that would connect to OSM webservices to identify OSM objects.</div><div>Then create new Data linked to OSM by their IDS.</div><div>Then export data in one or many OSM export format.</div><div><br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 28 mars 2019 à 18:11, mmd <<a href="mailto:mmd.osm@gmail.com">mmd.osm@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 3/28/19 4:14 PM, Julien Cochennec wrote:<br>
> Hi, I'd like to have my own iD editor on a server, to develop additional<br>
> features or plugins.<br>
> I'd like to connect it to different virtual servers "emulating" the<br>
> whole OSM architecture, not to interfere with contributors.<br>
<br>
You can always use the dev instance for your tests<br>
(<a href="http://master.apis.dev.openstreetmap.org" rel="noreferrer" target="_blank">master.apis.dev.openstreetmap.org</a>), which is what I recommend to get up<br>
to speed quickly. iD editor comes with quite comprehensive documentation<br>
on how to set up your local development environment and deploy your code<br>
to a server.<br>
<br>
In general, setting up your own OSM backend infrastructure is nothing<br>
for the faint hearted. Be prepared to spend at least several weeks on<br>
this topic.<br>
<br>
> I would also like the result to be "exportable" to OSM real<br>
> infrastructure so that the whole system would be OSM in a nutshell but<br>
> whitout losing data that can be handled as contribution.<br>
<br>
That's quite tricky. OSM object ids and versions need to match exactly,<br>
you need to be prepared to handle conflicts, set up proper user names in<br>
your local database etc. There's a whole lot more issue on a<br>
non-technical level as well, which I'm not going to jump into here. If<br>
you have no prior experience in this area, I would try to skip this part<br>
for the time being, as it could be a major time sink.<br>
<br>
> <br>
> - Do you think it's possible?<br>
<br>
Depends on how much time you want to invest.<br>
<br>
> - If it's possible, which servers do I need to emulate?<br>
<br>
As said, you could always set up your own Rails port. If your primary<br>
goal is iD development, that's probably overkill, though.<br>
<br>
> - Which file in iD source would I have to change so the APIs are local<br>
> and not worldwide?<br>
<br>
On <a href="http://preview.ideditor.com/master" rel="noreferrer" target="_blank">http://preview.ideditor.com/master</a> you can simply switch between live<br>
and dev environment by clicking on the "live" button on the bottom<br>
toolbar. IIRC, your local deployment should have the same button. Be<br>
sure to use the "dev" server, and check your results on<br>
<a href="https://master.apis.dev.openstreetmap.org" rel="noreferrer" target="_blank">https://master.apis.dev.openstreetmap.org</a> after uploading.<br>
<br>
-- <br>
<br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org" target="_blank">dev@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/dev" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/dev</a><br>
</blockquote></div></div>