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

Hello,

Struggling to do this Overpass query, ready to give up so I ask just in case it is possible! Heads up, I am just a hobbyist starting up so I can follow some code extracts and try to understand them but it's quite hard for me to come up with my own code.

I work on this node for example and I can display the bin and show the name in a box using css. No problem so far...

[out:json];
(
  node["amenity"="recycling"]({{bbox}});
);
out body;
>;
out skel qt;
{{style:
  node[amenity=recycling] {
    icon-image: url('icons/maki/waste-basket-24@2x.png');
    icon-width: 30;
    text:name;
  }
}}

Now, 2nd step, I want replace the name in the box by what kind of recycling it offers (clothes, glass_bottles, paper, etc...).

So I am not interested in the value of these keys but the actual keys themselves. Is there any way to do this using Overpass Turbo?

Any help very much appreciated.

Cheers!

asked 26 Jul '22, 22:10

SterylMreep's gravatar image

SterylMreep
11112
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
×4

question asked: 26 Jul '22, 22:10

question was seen: 669 times

last updated: 26 Jul '22, 22:10

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