<br><br><div class="gmail_quote">On Mon, Mar 22, 2010 at 3:54 PM, Maarten Deen <span dir="ltr"><<a href="mailto:mdeen@xs4all.nl">mdeen@xs4all.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">On Mon, 22 Mar 2010 15:19:43 +0100, Andreas Höschler<br>
<<a href="mailto:ahoesch@smartsoft.de">ahoesch@smartsoft.de</a>> wrote:<br>
> Hi John,<br>
><br>
>>> For that we need some kind of TCP-based XML interface so that we could<br>
>>> send a track in some XML format to a TCP socket and get back the IDs<br>
>>> assigned to objects by the public OSM database server. Only that would<br>
>>> allow us the assign the returned IDs to our private database objects<br>
>>> and thus avoid data duplication. Is there such an API (TCP-socket<br>
>>> based)?<br>
>><br>
>> It's not that simple, because you may need to deal with merging,<br>
>> alternatively you could produce .osm files similar to what JOSM<br>
>> produces and then people can load those files into JOSM and merge or<br>
>> add data to OSM.<br>
><br>
> Creating OSM files would be easy for us. But where would we sent them?<br>
> Simply put them on our webserver and make an announcement on the osm<br>
> list "hey, we have some osm data to be merged/imported! Have fun!"!?<br>
<br>
</div>That's the basic thought. Have a look at the projectpages for the various<br>
Kosovo imports on <<a href="http://wiki.openstreetmap.org/wiki/Category:Kosovo" target="_blank">http://wiki.openstreetmap.org/wiki/Category:Kosovo</a>>.<br>
If this gets coordinated with a group of local mappers (in case there<br>
already is data present) then I don't see a big problem.<br>
<div class="im"><br>
> The other problem is how do we get to know that one of our ways got<br>
> imported into the public OSM database and thus assigned an ID so that<br>
> we can get rid of that way in our private database?<br>
<br>
</div>Only by investigating the new data and comparing it to your own data. As<br>
you can see on some of the Kosovo pages, there is a link to a changeset.<br>
This is a collection of all the items that got added/changed. This could be<br>
used to check against your local data.<br>
<br></blockquote></div><br>Yes, we have had good results with the spoonful imports done by people.<br>I would say that if you have all this data to share, share it. <br><br>upload the data to <a href="http://archive.org">archive.org</a>, put it unter creative commons sharealike commercial, and let us look at it. We can help you prepare it for importing into osm.<br>

<br>If you have internal ids, we can also import them if needed, better would be to download the data back out of osm, pull that into a database, the postgis database is easy to use. <br><br>you should be able to do that matching of the osm data in postgis against your data pretty easily.<br>

<br>so, lets see some data samples and then we can talk about details.<br><br>mike<br>