I have a list of points with Lat, Lon, Names, and other tags. There are over 100 points, so I do not wish to create them one at a time. How can I upload them as a batch? Thanks! asked 30 Oct '12, 02:21 JMcA |
There are various programs that would convert a list of nodes into an .osm file that you could then upload with an editor like JOSM. (Involving an editor has the advantage of giving you a visual check on whether the data you're planning to upload matches - good - or duplicates - bad - what's already there.) Here's a very simple one that requires some Perl knowledge to make the necessary modifications: http://textual.ru/vybory2011/osmres/csv2osm.pl However, please note that data imports are not universally welcome in OpenStreetMap, and usually require prior discussion on the "imports" mailing list. I guess if the number of points you have is small and you have manually collected them e.g. was waypoints in your GPS or so, then what you're planning to do is not much different from a manual edit, but if the list of points is in any way auto-generated or converted from another data source then it is definitely an import and you'll have to check with the community before you go ahead. The reason for this requirement is mainly that there have been lots of bad imports in the past, where people - always with the best intention - imported duplicate or useless data, data with wrongly converted coordinates, unnecessary or badly converted third-party tags and other stuff, and due to the "mass data processing" nature that imports often have, the impact of a mistake in an import procedure can be much greater than the impact of a mistake made by a human mapper! answered 30 Oct '12, 09:21 Frederik Ramm ♦ |
Please read the import guidelines before proceeding any further, since it sounds like your points are comming from an external source and there are certain preparations to do in that case (main 3 beeing: double-check the licence, announce your import to the local community, and QA-check the actual data). Once that's done (or if your data doesn't qualify as an "import"), it really depends what format your data is in to begin with. Assuming your data is a csv and you have some basic scripting skills, the simplest way is probably to transform your csv into an osm xml file, load that file in JOSM, QA-check it, and upload. If those assumtions wetre wrong, you need to give us more details. answered 30 Oct '12, 09:32 Vincent de P... ♦ |
Have you verified that there won't be any duplicated entries after uploading?