NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello everybody,

I want to get all nodes, ways and relations for a specific coordinate for an example: 49.1259340,9.2101538

[out:json];
node(around:5, 49.1259340,9.2101538);
>;
way(around:5, 49.1259340,9.2101538);
>;
relation(around:5, 49.1259340,9.2101538);
out;

I tried several approaches but none worked. Help is much appreciated.

asked 04 Jun '18, 12:57

Gustav9999's gravatar image

Gustav9999
11223
accept rate: 0%

edited 04 Jun '18, 14:09

Privatemajory's gravatar image

Privatemajory
1.1k142233


I found myself the solution:

[out:json];
node(around:10,49.1259340,9.2101538);
<;
out geom;
permanent link

answered 04 Jun '18, 15:13

Gustav9999's gravatar image

Gustav9999
11223
accept rate: 0%

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:

×483
×228

question asked: 04 Jun '18, 12:57

question was seen: 2,772 times

last updated: 04 Jun '18, 15:13

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum