Hi everyone.

I have a big csv containing about 9600 lines with the following structure:

way1:way2:way3 | pointGeom

100234171:277425069:102706559 | POINT(-117.738886 33.581471)

way1:way2:way3 = OSM way IDs

pointGeom = a point with known coordinates

Is there an automated/semi-automated method to download in the form of an OSM file (or in any other format that I can vizulize in QGIS or JOSM) all the ways that I have listed in my way1:way2:way3 column?

Hopefully I made my question clear.

Thanks!

asked 16 Feb '16, 09:46

mihaii's gravatar image

mihaii
36112
accept rate: 0%

edited 16 Feb '16, 18:37

aseerel4c26's gravatar image

aseerel4c26 ♦
32.0k16238549


You want to download 30,000 ways with their node members (another 150,000 objects on average). While there are API calls that let you download a couple of objects at the same time, they are certainly not meant for such a download volume. You should download a planet file (or a country extract if all your ways are within the same country), and extract the information you need from there.

If you were looking for a smaller number of objects, the easiest way to load them all would probably be creating dummy versions for every way, like

<way id="1234" version="1" user="..." ... />

then if you open that file in JOSM and request to "update from server", JOSM will download the correct data for all the ways (and the matching nodes).

But as I said, don't do that for 30k ways.

permanent link

answered 16 Feb '16, 11:03

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
70.1k806341098
accept rate: 24%

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:

×510
×238
×64
×48

question asked: 16 Feb '16, 09:46

question was seen: 1,473 times

last updated: 16 Feb '16, 18:37

powered by OSQA