[SOLVED] [OverpassTurbo] How to limit search to a specific city?

Hello,

I’d like to search for a given type of objects in Paris, France.

Since there are other cities around the world named “Paris”, I figured I should try using a relation instead, but no dice:


[out:json][timeout:25];

area["relation"="71525"]->.searchArea;
(
  relation["key"="value"](area.searchArea);
);

(._;>;);
out meta;

What’s the right way to query OSM for a given city?

Thank you.


Edit:
http://nominatim.openstreetmap.org/search.php?q=paris

as explained in https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#By_element_id, you have to add 3600000000 to the id of the relation for making your query work, so you have to use


area[3600071525]->.searchArea;

You need to use round brackets:


area(3600071525)->.searchArea;

or use something like:


rel(71525);map_to_area -> .searchArea;

if you don’t like adding numbers.

Thanks !