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

I have installed overpass api using the docker and german image from geofabrik. I can run queries using the command line and api. However, using foreach and count i get no results but overpass-turbo.eu returns results. Can anyone help? Here is the my query code.

[out:csv(::"type",::"id", name, admin_level,::"count")]; area[name="Saarland"][boundary]; rel(area)["boundary"="postal_code"]; map_to_area; foreach->.d( (.d;);out; (node(area.d)[amenity=pharmacy]; way(area.d)[amenity=pharmacy]; relation(area.d)[amenity=pharmacy];); out count; );

asked 25 Jul '17, 21:36

mrparadox's gravatar image

accept rate: 0%

Be the first one to answer this question!
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: 25 Jul '17, 21:36

question was seen: 879 times

last updated: 25 Jul '17, 21:36

powered by OSQA