[QGIS-trac] Re: [Quantum GIS] #2123: wrong projection information
when creating a new shapefile
Quantum GIS
qgis at qgis.org
Mon Nov 23 06:56:27 EST 2009
#2123: wrong projection information when creating a new shapefile
-----------------------------------------------------+----------------------
Reporter: cmoe | Owner: nobody
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.4.0
Component: Data Provider | Version: HEAD
Resolution: | Keywords: create shapefile;
Platform_version: | Platform: RedHat
Must_fix: Yes | Status_info: 0
-----------------------------------------------------+----------------------
Comment (by cmoe):
I understand the follwing now: If we do writeAsShapefile() ogr responds
also with a wrong prj file.
But afer the ogr call qgis just overwrites the prj file with a correct
version.
So we may do the same for creating an empty data source. A patch is
provided in the attachments.
Please may someone have a look at it, and, if appropriate, apply it.
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2123#comment:2>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list