I'm going to go back to some of the primative concepts of OSM here, just to make sure that everyone is on the same page...<br><br>OSM has 2 completly destict concepts, tracks and ways: (I am simplifying here, but you get the idea)<br>

<br>Tracks are a collection of gps points, as they are recorded, generally 1 per second, but there is a huge deal of variety here. it's slightly more complicated than that, some people filter them, some people split diferent journeys or date periods into separate tracks, but it's basicaly that simple.<br>

<br>Ways are (in this context) a road -- with just enough points along it to mark the curvature, lots of metadata, and it's always just one road, it will never span a bunch of roads describing a route.<br><br>The trouble here is that there is no link between tracks and ways -- asside from the fact that they are close to each other. This is for very important technical reasons. in general once a road has been traversed several times, and it is clear that the GPS data is good, somone will trace over the (say) 200 gps points that make up the road, by adding a way containing (say) 4 nodes. From that point on, there is no connection. <br>

<br>It is very destructive simply convert traces directly into ways, because it takes up huge amounts of valuable space in the database, and leads to a lack of user filtering of bad data. Simply driving past a large metalic building can thorugh GPS off by a significant distance etc.<br>

<br>I have personally looked into ways of doing exactly what (I think) you are trying to do, and found that computers just arn't clever enough to match the data up, and produce good ways from traces.<br><br>That's not to say that we either don't want, or can't use your data. what I would sugest is the following:<br>

<br>You upload data you have as traces, I believe this can be done fairly simply using the API (i've done it, using CURL, and got it to work) this returns, I blieve an id that should be useful to you.<br><br>You could add the metadata that you have about road staes and single nodes to the main map data, also farily simple thoguht the API.<br>

<br>You haveto then rely on humans (either you, or us) to trace the data into good quality ways.<br><br>There is also the question of road names I assume that if you have this data, it will be in some copyrighted form? there is a chance that you have the address you are delivering to, that may be usable...<br>

<br>JR<br><br><br><div class="gmail_quote">2010/3/22 Andreas Höschler <span dir="ltr"><<a href="mailto:ahoesch@smartsoft.de">ahoesch@smartsoft.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi John,<br>
<div class="im"><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>
</div>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>
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>
I have just logged into <a href="http://www.openstreetmap.org" target="_blank">www.openstreetmap.org</a> and found the GPS traces<br>
pane and the page on which one can upload gps traces. However, where<br>
can I upload OSM files to with ways having street names, way kind, ...?<br>
<br>
Thanks,<br>
<font color="#888888"><br>
  Andreas<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
</div></div></blockquote></div><br>