NOTICE: is being shutdown on 1st March 2024. Please use the OpenStreetMap Community Forum

sorry for the newbie question.

What would be the overpass query to get the following:

For example

it should be found by solely handing over "Q83630092" and the query should return the "Location" coordinates and optionally also '7158766201'

as a collateral, we might restrict the results to amentiy "fountain" or "drinking_water" .

Any help would be highly appreciated.

asked 26 Jan '20, 09:03

ralfhauser's gravatar image

accept rate: 0%

edited 29 Jan '20, 10:30


This is the correct place for newbie questions.

This will return what you want:

out center;

If you don't know if the entity was mapped as a single point, swap node for nwr (Node, Way, Relation),

If you want to search for all in area of visible screen:

out geom;

You should be able to work out how to filter for drinking_water from these examples.

If you want to output as a CSV list, add [out:csv(::id, "name", "wikidata"; false; ",")] as line one.

To tie in with your other posted question - to find entities which don't have name (or wikipedia) tags add an exclamation mark:

out geom;
permanent link

answered 26 Jan '20, 11:19

DaveF's gravatar image

accept rate: 16%

edited 26 Jan '20, 11:43

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]( "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: 26 Jan '20, 09:03

question was seen: 1,213 times

last updated: 29 Jan '20, 10:30

NOTICE: is being shutdown on 1st March 2024. Please use the OpenStreetMap Community Forum