[QGIS-it-user] QGIS 3.4.4 Poligonizzazione - da raster a vettore

Luigi Pirelli luipir a gmail.com
Mar 12 Feb 2019 11:44:55 PST


cambiando qui la chiamata in funzione del data source

https://github.com/OSGeo/gdal/blob/master/gdal/swig/python/scripts/gdal_polygonize.py#L263

Luigi Pirelli

**************************************************************************************************
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
*
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
* Hire me: http://goo.gl/BYRQKg
**************************************************************************************************


On Tue, 12 Feb 2019 at 20:42, Luigi Pirelli <luipir a gmail.com> wrote:

> e' un limite dello script... nel senso che usando gdal_polygonize.py (o
> bat) si usa:
> https://www.gdal.org/gdal__alg_8h.html#a3f522a9035d3512b5d414fb4752671b1
> mentre semplicemente usando
> https://www.gdal.org/gdal__alg_8h.html#a7a789015334d677afcbef67e5a6b4a7c
> si risolverebbe
>
> una nota di lutra di vari anni fa
>
> https://trac.osgeo.org/gdal/ticket/4516
>
> morale... fai prima a fare una PR a gdal con gdal_fpolygonize.py o
> aggiungere una opzione di gda_plygonize.py che gestisca la chiamata giusta
> in funzione del sourcetype
>
> Luigi Pirelli
>
>
> **************************************************************************************************
> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> * GitHub: https://github.com/luipir
> * Mastering QGIS 2nd Edition:
> *
> https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
> * Hire me: http://goo.gl/BYRQKg
>
> **************************************************************************************************
>
>
> On Tue, 12 Feb 2019 at 20:20, Totò <pigrecoinfinito a gmail.com> wrote:
>
>> ginetto wrote
>> > non vedo la limitazione... a quale algoritmo ti riferisci? quello di
>> gdal
>> > che usa gdal_plygonize.py ?
>>
>> nella maschera che si avvia da processing compare:
>> console GDAL/OGR
>> gdal_polygonize.bat GPKG:C:/......./dati.gpkg:DTM_Palermo
>> C:/......./OUTPUT.shp -b 1 -f "ESRI Shapefile" DN
>>
>>
>>
>> -----
>> https://pigrecoinfinito.wordpress.com/
>> --
>> Sent from:
>> http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
>> _______________________________________________
>> QGIS-it-user mailing list
>> QGIS-it-user a lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>>
>
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.osgeo.org/pipermail/qgis-it-user/attachments/20190212/45b9e9dc/attachment.html>


Maggiori informazioni sulla lista QGIS-it-user