You are not logged in.
- Topics: Active | Unanswered
Announcement
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Pages: 1
#1 2008-08-03 23:04:16
- mtrax
- Member
- From: Canberra, Australia
- Registered: 2008-05-20
- Posts: 103
Uploading POI data
Is there a easy way to upload POI data, the WIKI didn't help me too much an online website OJW wasn't available.
If I and find a utility or page to load a CSV format file or GPX that would be useful.
thanks
Offline
#2 2008-08-04 06:44:29
- emj
- Member
- From: .se (59.3N17.99E) 0735969076
- Registered: 2006-06-18
- Posts: 949
Re: Uploading POI data
It's pretty straight forward to do, you can use JOSM if you can little progrmming experience. Look at how it handles nodes that are not uploaded yet. this is what it looks like:
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.5' generator='JOSM'>
<node id='-1' visible='true' lat='58.360633340163936' lon='15.426328674098361'
/>
<node id='-2' action='modify' visible='true' lat='58.36040280967213' lon='15.4
20104350819674'>
<tag k='place' v='person' />
<tag k='name' v='Morran' />
</node>
<node id='-3' action='modify' visible='true' lat='58.36685766344262' lon='15.3
95898649180328'>
<tag k='place' v='hamlet' />
<tag k='name' v='Muminvallry' />
</node>
<node id='-4' visible='true' lat='58.37976737098361' lon='15.43255299737705' /
>
</osm>So it's pretty easy to convert a CSV file to this format, with a negative "ID=" part, and then use JOSM to upload it..
But you have to document what you are doing, what is you are uploading, will that dataset be updated, will we have to reload it at some point?
Last edited by emj (2008-08-04 06:44:48)
Offline
#3 2008-08-04 13:06:21
- JRA
- Member
- Registered: 2007-12-17
- Posts: 677
Re: Uploading POI data
So it would be pretty easy to make a CSV of GPX to osm converter but this feature is intentially unimplemented in JOSM, to prevent people from uploading too easily POIs they have downloaded from somewhere else?
Offline
#4 2008-08-04 22:20:28
- mtrax
- Member
- From: Canberra, Australia
- Registered: 2008-05-20
- Posts: 103
Re: Uploading POI data
I guess the real work is to update the categorys or tag names.
thanks
Offline
#5 2008-08-05 08:36:43
- JRA
- Member
- Registered: 2007-12-17
- Posts: 677
Re: Uploading POI data
Potlatch can already import waypoints from uploaded gpx file with attributes but it is a bit tricky. Gpx file need to have at least one valid track, otherwise it does not get uploaded, and then you need to accept waypoints one by one with Potlatch. I guess it is more simple with gpx than arbitraty CSV files because waypoint attributes are fixed. But getting coordinates and fields <name>, <cmt> and <desc> directly to JOSM from gpx file would be a very good help when transcribing recorded waypoints from GPS. Of cause I can already see waypoints as markers in JOSM and it is much better than nothing.
Offline
#6 2008-08-05 20:47:52
- emj
- Member
- From: .se (59.3N17.99E) 0735969076
- Registered: 2006-06-18
- Posts: 949
Re: Uploading POI data
It's an interesting idea to allow data to be included in waypoints, it probably would work. With normal OSM xml for tags..
mtrax: Yes, doing the update feature might be the hardest.
Offline
Pages: 1