a noter qu'il y a aussi la clef charging_station=*
https://taginfo.openstreetmap.fr/keys/charging_station
permettant de renseigner qu'un poi a une station de recharge
lorsqu'on ignore exactement où il se trouve

au final cela fait quelques choses du genre :

area[name="Cabourg"];
nwr[amenity=charging_station]->.borne;
(
nwr(around.borne:100)[tourism=hotel];
nwr[tourism=hotel][charging_station][charging_station!=no];
);
(._;>;);
out meta;


Le 18.01.20 à 10:40, Vincent Bergeot a écrit :
> Le 18/01/2020 à 02:09, Shohreh a écrit :
>> trouver tous les hôtels en France qui proposent une
>> prise pour recharger une voiture électrique
> 
> area[name="Cabourg"];
>   node(area)[tourism=hotel]->.hotels;
>   (
>     way(around.hotels:100)[amenity=charging_station];
>     node(around.hotels:100)[amenity=charging_station];
>   );
>   (._;>;);
>   out meta;
_______________________________________________
Talk-fr mailing list
Talk-fr@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-fr

Répondre à