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's gravatar image

JMcA
41336
accept rate: 0%

1

Have you verified that there won't be any duplicated entries after uploading?

(30 Oct '12, 06:36) scai ♦

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!

permanent link

answered 30 Oct '12, 09:21

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
77.7k886901201
accept rate: 24%

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.

permanent link

answered 30 Oct '12, 09:32

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.2k17149247
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×113
×82

question asked: 30 Oct '12, 02:21

question was seen: 3,779 times

last updated: 30 Oct '12, 09:32

powered by OSQA