[gdal-dev] save raster as point-vector file

Mateusz Kędzior matandked at gmail.com
Tue Aug 9 06:25:49 EDT 2011


Hello,

I would like to show value of each raster cell as label. My idea (I don't
know any plugin or any functionality in GDAL/OGR which allow to do it
easier) is to export raster using gdal2xyz.py into coordinates-value format
and then save it as vector (GML or shapefile). For this second task, I try
to use
=================================================================================================================================================
gdal_polygonize.py:
gdal_polygonize.py rainfXYZ.txt rainf.shp Creating output rainf.shp of
format GML. 0...10...20...30...40...50...60...70...80...90...100 - done.
=================================================================================================================================================
unfortunately I am unable to load created file (even if I change the
extension to .gml)
ogr2ogr tool don't even recognize this format.

=========================
Thank You in advance,
Mateusz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110809/9dead6f3/attachment.html


More information about the gdal-dev mailing list