Re: [OSM-dev] Inserting OSM data

2010-04-06 Thread Andreas Höschler
Hi all, The ideal solution for use would be to send a WAY segment in OSM format to some service and receive a response with the IDs for the created way and the created nodes! But I understand this is not supported due to the obvious merging problem (avoid duplicates)!? With the API, you can

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread jamesmikedup...@googlemail.com
What we did for a similar project in kosovo[1] is to create a set of files on archive.org split by 10k gps points, they are being traced over by volunteers. we processed the csv data into osm files wih perl. If you need help setting that up, please let me know. retrospectivly it is better to

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread John Smith
2010/3/22 jamesmikedup...@googlemail.com jamesmikedup...@googlemail.com: retrospectivly it is better to create gpx files instead of osm files. Except that would loose potentially valuable information already in his database. ___ dev mailing list

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Tom Hughes
On 22/03/10 13:04, Andreas Höschler wrote: However, we want to pass our track data to the OSM project and are looking for a neat way to do that. We can convert our data to any format (some kind of CSV or XML preferred). We just need a TCP interface to post them to or a destination email

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Iván Sánchez Ortega
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.

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread John Smith
2010/3/22 Iván Sánchez Ortega i...@sanchezortega.es: Whenever you (successfully) upload a new way, you get the way ID in return. No problem there. What about existing ways that may be duplicated by doing that? ___ dev mailing list

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Iván Sánchez Ortega
El 22/03/2010 15:04, John Smith escribió: 2010/3/22 Iván Sánchez Ortegai...@sanchezortega.es: Whenever you (successfully) upload a new way, you get the way ID in return. No problem there. What about existing ways that may be duplicated by doing that? Andreas talked about inserting data into

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Andreas Höschler
Hi John, 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

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Stefano Salvador
Creating OSM files would be easy for us. But where would we sent them? Simply put them on our webserver and make an announcement on the osm list hey, we have some osm data to be merged/imported! Have fun!!? In my small part of world I do exactly so, local mailing list is our interface for such

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Tom Hughes
On 22/03/10 14:19, Andreas Höschler wrote: I have just logged into www.openstreetmap.org and found the GPS traces pane and the page on which one can upload gps traces. However, where can I upload OSM files to with ways having street names, way kind, ...? There isn't one, because just

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Peter Körner
Creating OSM files would be easy for us. But where would we sent them? Simply put them on our webserver and make an announcement on the osm list hey, we have some osm data to be merged/imported! Have fun!!? There are apis to upload them, but you are not encouraged to upload massive amounts

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Andreas Höschler
Hi Tom, However, we want to pass our track data to the OSM project and are looking for a neat way to do that. We can convert our data to any format (some kind of CSV or XML preferred). We just need a TCP interface to post them to or a destination email address where to send the files to.

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Richard Fairhurst
Andreas Höschler wrote: Creating OSM files would be easy for us. But where would we sent them? Simply put them on our webserver and make an announcement on the osm list hey, we have some osm data to be merged/ imported! Have fun!!? Just that. It's worth noting that Potlatch 2, the next

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Andreas Höschler
Hi, 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

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread John Robert Peterson
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... OSM has 2 completly destict concepts, tracks and ways: (I am simplifying here, but you get the idea) Tracks are a collection of gps points, as they are recorded, generally 1

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread John Smith
2010/3/23 Iván Sánchez Ortega i...@sanchezortega.es: Andreas talked about inserting data into OSM, not updating data in OSM. Yes, that's a completely different problem :-) You are assuming he's adding data that doesn't exist or overlap with data already in OSM...

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Maarten Deen
On Mon, 22 Mar 2010 15:19:43 +0100, Andreas Höschler ahoe...@smartsoft.de wrote: Hi John, 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

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Iván Sánchez Ortega
El 22/03/2010 15:46, Andreas Höschler escribió: [...] selecting only those records that make up a way. So you have a topologically correct road network. Nce :-) Looky here: http://wiki.openstreetmap.org/wiki/API_v0.6 Wow, I believe that's what I was looking for!! Scanning this page

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Nic Roets
Andreas, One solution is to add your own tag to the OSM files you generate e.g. smartsoft_id=nnn. And publish the files for review somewhere. Then scan the minutely updates at planet.openstreetmap.de for your id numbers and when they appear you can delete them from your DB. You can also upload

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread jamesmikedup...@googlemail.com
On Mon, Mar 22, 2010 at 3:54 PM, Maarten Deen md...@xs4all.nl wrote: On Mon, 22 Mar 2010 15:19:43 +0100, Andreas Höschler ahoe...@smartsoft.de wrote: Hi John, 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

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread John Smith
On 23 March 2010 00:54, Maarten Deen md...@xs4all.nl wrote: Only by investigating the new data and comparing it to your own data. As you can see on some of the Kosovo pages, there is a link to a changeset. This is a collection of all the items that got added/changed. This could be used to

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Andreas Höschler
Hi John, 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... OSM has 2 completly destict concepts, tracks and ways: (I am simplifying here, but you get the idea) Tracks are a collection of gps points, as they are

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Peter Körner
Thus the data we are producing is already of high value (could directly be inserted into the public OSM database). Could you please provide an extract of this data so we can take a look at the quality ourself? Thank you! Peter ___ dev mailing list

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Andreas Höschler
Hi Nic, One solution is to add your own tag to the OSM files you generate e.g. smartsoft_id=nnn. And publish the files for review somewhere. Then scan the minutely updates at planet.openstreetmap.de for your id numbers and when they appear you can delete them from your DB. Thanks, that

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Tom Hughes
On 22/03/10 15:00, Nic Roets wrote: One solution is to add your own tag to the OSM files you generate e.g. smartsoft_id=nnn. And publish the files for review somewhere. Then scan the minutely updates at planet.openstreetmap.de for your id numbers and when they appear you can delete them from

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Iván Sánchez Ortega
El 22/03/2010 16:38, Andreas Höschler escribió: The OSM are supposed to be put on our webserver!? How do I announce a new OSM file to whom? http://lists.openstreetmap.org/listinfo/imports should be the right place. -- Iván Sánchez Ortega i...@sanchezortega.es

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread jamesmikedup...@googlemail.com
On Mon, Mar 22, 2010 at 5:18 PM, Tom Hughes t...@compton.nu wrote: I'm not sure we really want to encourage the use of our database as a storage space for third party identifiers like that. It could get rather out of hand if everybody else wants to attach their own IDs to our data. If

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Nic Roets
On Mon, Mar 22, 2010 at 6:18 PM, Tom Hughes t...@compton.nu wrote: On 22/03/10 15:00, Nic Roets wrote: One solution is to add your own tag to the OSM files you generate e.g. smartsoft_id=nnn. And publish the files for review somewhere. Then scan the minutely updates at planet.openstreetmap.de