What we did for a similar project in kosovo[1] is to create a set of files on <a href="http://archive.org">archive.org</a> split by 10k gps points, they are being traced over by volunteers. <br>we processed the csv data into osm files wih perl.<br>
<br>If you need help setting that up, please let me know.<br>retrospectivly it is better to create gpx files instead of osm files.<br><br>mfg,<br>mike<br>[1] <a href="http://wiki.openstreetmap.org/wiki/Kosovo_LogisticsPlus_Tracing">http://wiki.openstreetmap.org/wiki/Kosovo_LogisticsPlus_Tracing</a><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 all,<br>
<br>
we are collecting huge amounts of GPS-tracks with a fleet of vehicles<br>
with on-board computers. These tracks are used internally for a bunch<br>
of purposes (vehicle monitoring, etc ). We have to maintain our own<br>
database of tracks, add properties like a so a called pickupCondition,<br>
which determines how good a track is (e.g. paved, muddy, never use it<br>
when it's raining,...). We would like to insert this collected data<br>
into the OSM database and am looking for the best way to do that. We<br>
have the data in our ERP system. Users are supposed to review the<br>
collected tracks, add properties (pickupCondition). What we plan to do<br>
is to use the public OSM data, add the self-collected tracks and use<br>
the resulting dataset to generate map, calculate routes, etc. We need<br>
to do it that way, because<br>
<br>
• our users cannot use the official OSM editor for several reasons (to<br>
complicated, no direct access to our tracks,...)<br>
• the "grab OSM data from public server and compile the data for our<br>
mapserver, routeserver,..."-cycle is too long. It would take 1-2 weeks<br>
until entered data would show up in our ERP.<br>
<br>
However, we want to pass our track data to the OSM project and are<br>
looking for a neat way to do that. We can convert our data to any<br>
format (some kind of CSV or XML preferred). We just need a TCP<br>
interface to post them to or a destination email address where to send<br>
the files to. Simply uploading the tracks to some server is no good<br>
solution. When a user creates a track in our database it gets a primary<br>
key but of course can't be assigned an official OSM ID yet. So the<br>
upload process would need to be as follows:<br>
<br>
Iterate through al newly created tracks<br>
- send a track with nodes to the OSM server and receive IDs for the<br>
way and the nodes<br>
- assign these IDs to our private database objects and thus marking<br>
them sent and no longer new<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>
What's our best option?<br>
<br>
Thanks a lot,<br>
<br>
Andreas<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>
</blockquote></div><br>