[gdal-dev] gdal_polygonize losing the projection info?
Frank Warmerdam
warmerdam at pobox.com
Tue Oct 14 12:57:48 EDT 2008
Tyler Erickson wrote:
> I have been trying to use gdal_polygonize to convert a TIF to an ESRI
> Shapefile, but it seems to be losing the projection information (i.e. no
> *.prj file is created).
>
> The following output illustrates the loss of projection information.
> I'm currently using gdal trunk revision 15512.
>
> Any suggestions on how to keep the projection info?
Tyler,
This was a problem with the gdal_polygonize.py script. I have modified it
to preserve the coordinate system when creating an output file in subversion.
http://svn.osgeo.org/gdal/trunk/gdal/swig/python/scripts/gdal_polygonize.py
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the gdal-dev
mailing list