Scaricare mappa "Cantoniere"

Buongiorno, vorrei scaricare
i dati relativi alle Cantoniere presenti
nella mappa. Utilizzo Qgis, effettuando la ricerca,
è come se il tag non esistesse.
Potete aiutarmi?

If you could give some details of exactly what you are searching for (and link to it in OSM) someone might be able to help?

On OSM there are houses identified as “Cantoniera”.

All are Cantoniera, but with different names, es:

“Cantoniera San Gregorio” coordinates 39° 18’ 7.73“ 9° 21’ 53.75”

“Cantoniera Genna Cresia” coordinates 39° 47’ 1.3“ 9° 33’ 10.76” ,

“Cantoniera Mateotto” coordinates 40° 20’ 48.37“ 9° 37’ 57.19”

etc…
.

I would like to extract all the coordinates of all the “Cantoniera” in Sardinia from Qgis with QuickOSM, but the search tag “Cantoniera” does not show any results.

OSM online can find them, but it does not download the data because Sardinia is too large an area.

I would like to solve this on Qgis, how can I do it?

Usa questa query overpass, per estrarre le case cantoniere mappate su OSM in Sardegna (IMHO sono mappate in modo errato perché operator non ha senso per una struttura in disuso).

[out:json][timeout:250];
{{geocodeArea:Sardegna}}->.searchArea;
nwr[“building”]["operator"="ANAS"](area.searchArea);
out geom;

Un elenco completo e’ disponibile qui: Case cantoniere Anas S.p.A.

Don’t know about Qgis. But Andrea_Musuruane’s overpass query finds 32 cantoniera “operated” by ANAS.

The query below finds a total of 205

[out:json][timeout:25];
// fetch area “Sardegna” to search in
{{geocodeArea:Sardegna}}->.searchArea;
// gather results
nwr["building"]["name"~"cantoniera",i](area.searchArea);
// print results
out geom;

Overpass

Is there a way to tell Qgis to find objects whose name CONTAINS ( the ~ in the above query) cantoniera? [1]


  1. some contain cantoniera without the capital C so I made the query case insensitive. ↩︎

Ti ringrazio, ho provato ma non funziona :frowning:

Il sito anas già lo avevo, però ne mancano diverse, su osm sono tutte presenti.

Hai provato il codice che hai scritto?

“building” aveva delle virgolette non standard. Trovi qua la query corretta: overpass turbo

Per domande in Italiano o riguardanti specificità italiane considera la prossima volta di postare nella sezione nazionale: Italia (Italy) - OpenStreetMap Community Forum

1 Like

Ti ringrazio! Ne trova pochissime però, non va bene… Bisognerebbe impostare la query inserendo il termine “cantoniera”, online riconosce il termine e le trova, su qgis no. :smiling_face_with_tear:

Well, as I said in my previous post you probably need to play a bit with the query. I am not familiar with Qgis, but it is quite possible that its default query method looks for fields that have exactly the requested contents. If so, you need to find out if, and if yes, how to tell Qgis to check only for partial equality and probably also to tell it to make the search case insensitive.

Beh, come ho detto nel mio post precedente, probabilmente dovrai giocare un po’ con la query. Non ho familiarità con Qgis, ma è possibile che il suo metodo di query predefinito cerchi campi che contengano esattamente i contenuti richiesti. Se così fosse, dovrai scoprire se, e in caso affermativo, come dire a Qgis di verificare solo l’uguaglianza parziale e probabilmente anche di rendere la ricerca insensibile alle maiuscole/minuscole.

Tradotto con DeepL.com (versione gratuita)

thanks, problem solved! :face_holding_back_tears: