Export as Poi when not represented as point, but way

Hi
I’m trying to export camp_sites. I realized, that some camp sites are represented by way. For example this one: Way: ‪Tjaldstæði Raufarhafnar‬ (‪208682910‬) | OpenStreetMap
When I export this in overpass-turbo as gpx, I want to export a single poi, not all this ways.

How can I do that?
Thank you

You can use the out center; statement for that.
For ways and relations this will add only a centered waypoint to the output.

Example:

nwr[tourism=camp_site]({{bbox}});
out center;

For your campsite this would result in a gpx-export like this:

<wpt lat="66.4479263" lon="-15.9419534"><name>Tjaldstæði Raufarhafnar</name><desc>addr:city=Raufarhöfn
addr:housenumber=4
addr:postcode=675
addr:street=Austurtröð
description=This camp site is part of the Icelandic Camping Card Project
email=nordurthing@nordurthing.is
fee=yes
name=Tjaldstæði Raufarhafnar
name:de=Raufarhöfn Campingplatz
name:en=Raufarhöfn Camping
phone=+354 468 1515
tourism=camp_site
website=https://www.nordurthing.is/</desc><link href="http://osm.org/browse/way/208682910"/></wpt>

Note that a reference to the original way is still included in the link-tag.

1 Like

very nice, thank you