[OSM-talk-be] Overpass-turbo issue with Luxembourg
Julien Minet
julien_wa at yahoo.fr
Mon Feb 2 15:04:27 UTC 2015
Hi,
I have an issue with overpass-turbo and maybe someone could help me. I want to make a query over the "Province de Luxembourg" in Belgium, but I cannot separate with results from the country of Luxembourg, since they have the same name:
Example:
[out:json][timeout:25];
// fetch area “Luxembourg” to search in
area['name:fr'='Luxembourg']->.searchArea;
// gather results
(
// query part for: “Shop”
node["shop"](area.searchArea);
way["shop"](area.searchArea);
relation["shop"](area.searchArea);
);
// print results
out geom;
>;
An idea would be to use another tag than the name, such as a OSM id for each object, or another unique tag. I tried, but I could not succeed. Also, if you want to make a search over 'Namur', you have the data of the whole province of Namur, and not the city.
Yesterday at FOSDEM, Roland Olbricht had a similar issue: he wanted to show a query over the whole region Brussels using the name "Bruxelles", but he just got the results over the city of Bruxelles.
Any ideas?
Julien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-be/attachments/20150202/805b563e/attachment.htm>
More information about the Talk-be
mailing list