NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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

Jalle
16113
accept rate: 0%

reverted 27 Jan '20, 17:07


Hi,

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

augustind
1663413
accept rate: 10%

edited 27 Jan '20, 22:12

Thanks a lot !! thats exactly what I wanted

(27 Jan '20, 23:42) Jalle

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:

×930
×39

question asked: 27 Jan '20, 16:59

question was seen: 1,345 times

last updated: 27 Jan '20, 23:42

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