How to get all nodes and streets of any polygon with a known user current location
Hello,
How to get all nodes and streets of any polygon (for buildings) with a known user current location.
I'm querying data in two ways:
1. download the data from and generate it to Qgis with PostgreSQL database - https://download.geofabrik.de/europe/italy/isole.html
screenshot - https://snipboard.io/tvRpzZ.jpg
2. querying the data from overpass-turbo with this query: Screenshot - https://snipboard.io/YsZAtJ.jpg
/*
This has been generated by the overpass-turbo wizard.
The original search was:
“highway=* and type:way in rapallo”
*/
[out:json][timeout:25];
// fetch area “rapallo” to search in
{{geocodeArea:rapallo}}->.searchArea;
// gather results
(
// query part for: “highway=*”
way["highway"](area.searchArea);
);
// print results
out body;
>;
out skel qt;https://overpass-turbo.eu/s/1n0c