Skip to main content
added 12 characters in body; edited tags; edited title
Source Link
TomazicM
  • 27k
  • 23
  • 31
  • 42

how How to extract also a zip code overpasswith Overpass turbo?

iI use this code in overpassOverpass turbo:

[out:csv(comune, ISTAT, name, highway, ::lat,::lon;false;";")][timeout:600]; //provincia da cui estrarre i dati area[boundary=administrative]["admin_level"=6][name="Napoli"]->.searchArea; relation[boundary=administrative]"admin_level"=8; foreach ( map_to_area->.comune; make stat comune=comune.set(t["name"]),ISTAT=comune.set(t["ref:ISTAT"]); out; way[highway~"residential|unclassified|tertiary|secondary|primary"]name; out center; );

[out:csv(comune, ISTAT, name, highway, ::lat,::lon;false;";")][timeout:600];
//provincia da cui estrarre i dati
area[boundary=administrative]["admin_level"=6][name="Napoli"]->.searchArea;
relation[boundary=administrative]["admin_level"=8](area.searchArea);
foreach (
  map_to_area->.comune;
  make stat comune=comune.set(t["name"]),ISTAT=comune.set(t["ref:ISTAT"]);
  out;
  way[highway~"residential|unclassified|tertiary|secondary|primary"][name](area.comune);
  out center;
);

Is it possible to extract also the zip postal code?

how to extract also a zip code overpass turbo

i use this code in overpass turbo:

[out:csv(comune, ISTAT, name, highway, ::lat,::lon;false;";")][timeout:600]; //provincia da cui estrarre i dati area[boundary=administrative]["admin_level"=6][name="Napoli"]->.searchArea; relation[boundary=administrative]"admin_level"=8; foreach ( map_to_area->.comune; make stat comune=comune.set(t["name"]),ISTAT=comune.set(t["ref:ISTAT"]); out; way[highway~"residential|unclassified|tertiary|secondary|primary"]name; out center; );

possible to extract also the zip postal code?

How to extract also a zip code with Overpass turbo?

I use this code in Overpass turbo:

[out:csv(comune, ISTAT, name, highway, ::lat,::lon;false;";")][timeout:600];
//provincia da cui estrarre i dati
area[boundary=administrative]["admin_level"=6][name="Napoli"]->.searchArea;
relation[boundary=administrative]["admin_level"=8](area.searchArea);
foreach (
  map_to_area->.comune;
  make stat comune=comune.set(t["name"]),ISTAT=comune.set(t["ref:ISTAT"]);
  out;
  way[highway~"residential|unclassified|tertiary|secondary|primary"][name](area.comune);
  out center;
);

Is it possible to extract also the zip postal code?

Source Link

how to extract also a zip code overpass turbo

i use this code in overpass turbo:

[out:csv(comune, ISTAT, name, highway, ::lat,::lon;false;";")][timeout:600]; //provincia da cui estrarre i dati area[boundary=administrative]["admin_level"=6][name="Napoli"]->.searchArea; relation[boundary=administrative]"admin_level"=8; foreach ( map_to_area->.comune; make stat comune=comune.set(t["name"]),ISTAT=comune.set(t["ref:ISTAT"]); out; way[highway~"residential|unclassified|tertiary|secondary|primary"]name; out center; );

possible to extract also the zip postal code?