Vi allego la query per overpass-turbo per la visualizzazione dei danni del terremoto. Ho adattato una già usata per il tifone Haiyan che colpi le Filippine. Per ora è solo relativa ai buildings, ma può essere rapidamente adattata anche alle strade o altro.
Ho cercato di seguire la scala di earthquake:damage che è stata discussa in lista. Potete vedere un esempio dei risultati su http://overpass-turbo.eu/s/i80. Se utile posso caricare una copia su GitHub. FabC <!-- Color buildings according to the damage scale tags agreed for the Rieti 2016 earthquake. [Version 1.0] --> <osm-script output="json"> <query type="way"> <has-kv k="building"/> <bbox-query {{bbox}}/> </query> <print mode="body"/> <recurse type="down"/> <print mode="skeleton"/> <query type="way"> <has-kv k="status"/> <bbox-query {{bbox}}/> </query> <print mode="body"/> <recurse type="down"/> <print mode="skeleton"/> <query type="way"> <has-kv k="landuse" v="brownfield" /> <has-kv k="earthquake:damage" v="yes" /> <bbox-query {{bbox}}/> </query> <print mode="body"/> <recurse type="down"/> <print mode="skeleton"/> <query type="node"> <has-kv k="barrier" v="debris"/> <bbox-query {{bbox}}/> </query> <print mode="body"/> <recurse type="down"/> <print mode="skeleton"/> <query type="way"> <has-kv k="earthquake:reviewed"/> <bbox-query {{bbox}}/> </query> <print mode="body"/> <recurse type="down"/> <print mode="skeleton"/> </osm-script> {{style: way[building] { color:blue; fill-color:blue;opacity:0.4; fill-opacity:0.4;} way[earthquake:damage=collapsed] { color:Yellow; fill-color:darkred;width:1; dashes:5,5;opacity:1;fill-opacity:0.8;} way[earthquake:damage=severe] { color:Yellow; fill-color:red;width:1; dashes:5,5;opacity:1;fill-opacity:0.8;} way[earthquake:damage=moderate] { color:Yellow; fill-color:pink;width:1; dashes:5,5;opacity:1;fill-opacity:0.8;} way[earthquake:damage=negligible] { color:Yellow; fill-color:MistyRose;width:1; dashes:5,5;opacity:1;fill-opacity:0.8;} }}
_______________________________________________ Talk-it mailing list Talk-it@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-it