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

I did this request which is able to provide me all nodes I need:

[out:json][timeout:25][bbox:42.410117500000005,2.4872,42.5101175,2.5871999999999997];
(
    node[natural=peak](if:t['ele'] > 1400.2);
    node[place=town];   
    node[place=city]; 
    node[place=village];
);
out body;
>;
out skel qt;

the output result is the one expected, but I don't find in the documentation the way to add to tags or node's id the name of the country for exemple. Is there a possibility to do so using relation?

asked 05 Mar '22, 09:57

Toucouleur's gravatar image

Toucouleur
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:

×228

question asked: 05 Mar '22, 09:57

question was seen: 624 times

last updated: 05 Mar '22, 09:57

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