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

Hi,

I want to get all Campingsites in a area, but many campsites are missing when i call following Xapi:

http://www.overpass-api.de/api/xapi?node[tourism=camp_site][bbox=10.65674,49.33228,11.71143,50.35948]

e.g Die Campinginsel (164951603) there are many others missing. E.G. Sommerach... I don't understand because the tag tourism=camp_site is correctly set.

greetings from Bamberg/Germany Rainer

asked 26 Jul '16, 07:56

rr001's gravatar image

rr001
31112
accept rate: 0%

edited 26 Jul '16, 08:36

I've seen this is an area not a poi. my really problem is to import pois into my Android Locus how can i get all camp_sites areas and show them as pois in my android app? is this possible?

(26 Jul '16, 08:08) rr001

Not sure about Overpass, but in Overpass Turbo, you can do this:

[out:json]
[timeout:25]
;
(
  node
    ["tourism"="camp_site"]
    (10.65674,49.33228,11.71143,50.35948);
  way
    ["tourism"="camp_site"]
    (10.65674,49.33228,11.71143,50.35948);
);
out body;
>;
out skel qt;

which returns both nodes and ways tagged camp_site.

permanent link

answered 26 Jul '16, 13:04

Piskvor's gravatar image

Piskvor
1.3k91535
accept rate: 37%

thank you i didn't know that there are ways and relations too that was it. but in Locus this camingSites where shown as Tracks Never Mind, it's not the best but it's ok for me

(26 Jul '16, 15:12) rr001
3

You can use 'out center;' to have Overpass API convert the areas to pois:

http://overpass-turbo.eu/s/hvP

Don't miss the 'GPX' option under the Export function.

(26 Jul '16, 15:39) maxerickson

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:

×483
×32

question asked: 26 Jul '16, 07:56

question was seen: 2,354 times

last updated: 26 Jul '16, 15:39

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