User:PanierAvide/Photo

From OpenStreetMap Wiki
Jump to navigation Jump to search

Cleaning

Invalid image=* value

[out:xml][timeout:250];
{{geocodeArea:france}}->.searchArea;
(
  way["image"]["image"!~"^(http|File)"](area.searchArea);
  node["image"]["image"!~"^(http|File)"](area.searchArea);
);
out meta;
>;
out meta qt;

Invalid wikimedia_commons=* value

[out:xml][timeout:250];
{{geocodeArea:france}}->.searchArea;
(
  way["wikimedia_commons"]["wikimedia_commons"!~"^(Category|File)"](area.searchArea);
  node["wikimedia_commons"]["wikimedia_commons"!~"^(Category|File)"](area.searchArea);
);
out meta;
>;
out meta qt;

Invalid flickr=* value

[out:xml][timeout:250];
{{geocodeArea:france}}->.searchArea;
(
  way["flickr"]["flickr"!~"^https?://www.flickr.com/photos/.+"](area.searchArea);
  node["flickr"]["flickr"!~"^https?://www.flickr.com/photos/.+"](area.searchArea);
);
out meta;
>;
out meta qt;

Invalid mapillary=* value

[out:xml][timeout:250];
{{geocodeArea:france}}->.searchArea;
(
  way["mapillary"]["mapillary"!~"^[a-zA-Z0-9_\-]{22}(;[a-zA-Z0-9_\-]{22})*$"](area.searchArea);
  node["mapillary"]["mapillary"!~"^[a-zA-Z0-9_\-]{22}(;[a-zA-Z0-9_\-]{22})*$"](area.searchArea);
);
out meta;
>;
out meta qt;