Estos son unos ejemplos que se pueden usar para crear desafíos en MapRoulette.
[out:json][timeout:25];
area[name="Bogotá"][admin_level=7][boundary=administrative]->.searchArea;
(
node["boundary"="postal_code"](area.searchArea);
way["boundary"="postal_code"]["name"!~"^[0-9]{6}-[0-9]{6}$"](area.searchArea);
relation["boundary"="postal_code"]["name"!~"^[0-9]{6}$"] (area.searchArea);
);
out geom;
[out:json][timeout:25];
area[name="Bogotá"][admin_level=7][boundary=administrative]->.searchArea;
(
node["boundary"="postal_code"](area.searchArea);
way["boundary"="postal_code"]["postal_code"](area.searchArea);
relation["boundary"="postal_code"]["postal_code"!~"^[0-9]{6}$"] (area.searchArea);
);
out geom;
/*
This has been generated by the overpass-turbo wizard.
The original search was:
“boundary=administrative”
*/
[out:json][timeout:25];
->.searchArea;
// gather results
(
// query part for: “boundary=administrative”
node["boundary"="administrative"]["admin_level"="9"](area.searchArea);
way["boundary"="administrative"]["admin_level"="9"](area.searchArea);
relation["boundary"="administrative"]["admin_level"="9"](area.searchArea);
);
// print results
out body;
>;
out skel qt;
/*
This has been generated by the overpass-turbo wizard.
The original search was:
“boundary=administrative”
*/
[out:json][timeout:25];
//->.searchArea;
// gather results
(
way["highway"]["highway"!="footway"]["highway"!="service"]["highway"!="pedestrian"]["highway"!="residential"]["highway"!="cycleway"]["highway"!="path"]["highway"!="track"]["highway"!="unclassified"]["highway"!="bus_stop"]["highway"!="steps"]["name"!~"^Carrera|^Calle |^Diagonal |^Transversal |^Avenida Calle |^Avenida Carrera "]();
//(area.searchArea);
);
// print results
out body;
>;
out skel qt;