For the Overpass import, include ways that're only partly intersecting the polygon. Without this, the map has no borders.
I don't pretend to understand the Overpass query language, but I tried and it seems to work!
@@ -69,7 +69,8 @@ async fn main() -> Result<()> {
}
filter.pop();
filter.push('"');
- let query = format!("(\n nwr({});\n <;\n);\nout meta;\n", filter);
+ // See https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL
+ let query = format!("(\n nwr({});\n node(w)->.x;\n <;\n);\nout meta;\n", filter);
abstio::download_to_file("https://overpass-api.de/api/interpreter", Some(query), &osm)
.await?;
} else {
