[OSM-talk-fr] Get data using Overpass API

Yosra Zguira zguirayosra at gmail.com
Lun 30 Nov 13:35:11 UTC 2015


Hello,

I use the Overpass API to get osm data. I have this query:

*/**
*This has been generated by the overpass-turbo wizard.*
*The original search was:*
*“amenity=bicycle_rental and network="Vélo'v" in "Lyon, France"”*
**/*
*[timeout:25];*
*// fetch area “Lyon, France” to search in*
*{{geocodeArea:Lyon, France}}->.searchArea;*
*// gather results*
*(*
*  // query part for: “amenity=bicycle_rental and network="Vélo'v"”*
*  node["amenity"="bicycle_rental"]["network"="Vélo'v"](area.searchArea);*
*  way["amenity"="bicycle_rental"]["network"="Vélo'v"](area.searchArea);*
*
relation["amenity"="bicycle_rental"]["network"="Vélo'v"](area.searchArea);*

*way[highway](area.searchArea);*
*);*

*// print results*
*out body;*
*>;*
*out skel qt;*

Whe I ran it, it generated only nodes and ways and not relations.
How can I please modify this query in order to download an osm file which
containes nodes, ways and relations?
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.openstreetmap.org/pipermail/talk-fr/attachments/20151130/3ea0d53a/attachment.htm>


Plus d'informations sur la liste de diffusion Talk-fr