Why not ask your question on the new OpenStreetMap Community Forum?

I am new to OSM map, specially URL parameters. I have this tag:amenity=toilets How can I format URL to display all public toilets in one city (eg New York ) ?

Tried with https://www.openstreetmap.org/relation/175905/?key=amenity&value=toilets

But its wrong

asked 27 Jan '20, 16:59

Jalle's gravatar image

accept rate: 0%

reverted 27 Jan '20, 17:07


You can't use https://www.openstreetmap.org for this purpose.

But you can do it with Overpass API, for example through OverPass Turbo website

Here is the request for your need: http://overpass-turbo.eu/s/Q9I. It has been generated throug the OverPass Turbo Wizard, using the expression amenity=toilets in "New York".

permanent link

answered 27 Jan '20, 22:08

augustind's gravatar image

accept rate: 10%

edited 27 Jan '20, 22:12

Thanks a lot !! thats exactly what I wanted

(27 Jan '20, 23:42) Jalle
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: 27 Jan '20, 16:59

question was seen: 1,029 times

last updated: 27 Jan '20, 23:42

powered by OSQA