[OSM-dev] Inserting OSM data
Iván Sánchez Ortega
ivan at sanchezortega.es
Mon Mar 22 13:53:10 GMT 2010
El 22/03/2010 14:04, Andreas Höschler escribió:
> we are collecting huge amounts of GPS-tracks with a fleet of vehicles
> with on-board computers. [...] We have to maintain our own
> database of tracks, add properties like a so a called pickupCondition,
> which determines how good a track is (e.g. paved, muddy, never use it
> when it's raining,...).
Do you store all the tracks, or do you conflate them into road axis?
I mean: if a truck has gone through a road twelve times, do you store
twelve lines or just one? Is there a way to get just one line per road?
> • our users cannot use the official OSM editor for several reasons (to
> complicated, no direct access to our tracks,...)
Depending on your Java expertise, you could program some JOSM plugin.
Just an idea, though.
> For that we need some kind of TCP-based XML interface so that we could
> send a track in some XML format to a TCP socket and get back the IDs
> assigned to objects by the public OSM database server. Only that would
> allow us the assign the returned IDs to our private database objects
> and thus avoid data duplication. Is there such an API (TCP-socket
> based)?
Looky here: http://wiki.openstreetmap.org/wiki/API_v0.6
Whenever you (successfully) upload a new way, you get the way ID in
return. No problem there.
--
Iván Sánchez Ortega <ivan at sanchezortega.es>
More information about the dev
mailing list