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, 16:59

Jalle's gravatar image

Jalle
163
accept rate: 0%

reverted 27 Jan, 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, 22:08

augustind's gravatar image

augustind
116239
accept rate: 10%

edited 27 Jan, 22:12

Thanks a lot !! thats exactly what I wanted

(27 Jan, 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

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:

×849
×30

question asked: 27 Jan, 16:59

question was seen: 150 times

last updated: 27 Jan, 23:42

powered by OSQA