I need to get the id of a "way" when I only have the way's node IDs, at least two such nodes that are given to be associated with, or sit exactly on that way.

What would you recommend as the procedure to achieve this? I'm in-familiar with OSM's API and couldn't find an answer here.


asked 23 Jan '13, 08:20

Boaz's gravatar image

accept rate: 0%

Try "ways for node" perhaps.

Edit: Sorry, I read "in-familiar" as familiar. So, for example, for node 1818806301


permanent link

answered 23 Jan '13, 08:29

EdLoach's gravatar image

EdLoach ♦
accept rate: 22%

edited 23 Jan '13, 08:31


that's great, but i'll need locally run, best performance solution. What schema do you recommend for installation and what API package would you use? Also, given the way-id i'll need to create/update a tag for the way. maybe that has implications on the API package. Thanks!

(23 Jan '13, 08:40) Boaz

I saw your discussion on the #osm IRC channel, where I think pgsnapshot schema was recommended. That's beyond me at the moment though as I've not tried it.

(23 Jan '13, 10:18) EdLoach ♦

Gotcha. Indeed, that was me on the IRC. I'm going to give the recommendations given through IRC a shot. Thanks!

(23 Jan '13, 12:56) Boaz
Your answer
toggle preview

Follow this question

By Email:

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



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:

question asked: 23 Jan '13, 08:20

question was seen: 3,640 times

last updated: 23 Jan '13, 13:17

Related questions

powered by OSQA