Moin
ich habe folgende Abfrage:
/*
This has been generated by the overpass-turbo wizard.
The original search was:
“heritage=*”
*/
[out:json][timeout:25];
// gather results
(
// query part for: “heritage=*”
node["heritage"]["image"!~"."]({{bbox}});
way["heritage"]["image"!~"."]({{bbox}});
relation["heritage"]["image"!~"."]({{bbox}});
node["amenity"="place_of_worship"]["image"!~"."]({{bbox}});
way["amenity"="place_of_worship"]["image"!~"."]({{bbox}});
relation["amenity"="place_of_worship"]["image"!~"."]({{bbox}});
);
// print results
out body;
>;
out skel qt;
{{style:
node{
color: #ffffff;
fill-color: #ff0000;
fill-opacity: 0.8;
}
node[heritage]{
color: #0000ff;
fill-color: #888888;
fill-opacity: 0.8;
}
node[amenity=place_of_worship]{
color: #00ff00;
fill-color: #;
fill-opacity: 0.8;
}
}}
Es sollen alle Objekte angezeigt werden die ein Denkmal sind und kein Bild haben.
Bei dem “kein Bild” haben hatte ich bisher das image herangezogen.
Nun könnte aber auch ein wikimedia_commons vorhanden sein und damit wäre das Objekt auch nicht anzeigen.
Quasi IsDenkmal und hat kein (Bild oder wikimedia_commons).
Kann mir einer verraten, wie ich das anpassen muss?
Gruß Jan