[QGIS-trac] [Quantum GIS] #2092: fTools export/add geometry tool should use source dataset CRS as target dataset CRS

Quantum GIS qgis at qgis.org
Sat Nov 14 08:26:20 EST 2009


#2092: fTools export/add geometry tool should use source dataset CRS as target
dataset CRS
------------------------------------------------+---------------------------
   Reporter:  marisn                            |              Owner:  borysiasty   
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.4.0
  Component:  Python plugins and bindings       |            Version:  HEAD         
   Keywords:                                    |   Platform_version:               
   Platform:  Gentoo                            |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 Start new project (project CRS is set to WGS84); [[BR]]
 Add some vector data source with different CRS (e.g. EPSG:25884); [[BR]]
 Launch Vector (fTools)-> Geometry-> Export/Add geometry colums; [[BR]]
 Select added vector as input, specify output and press OK. [[BR]]

 Resulting shapefile has correct coordinate data in database columns, still
 shapefiles CRS is defined as WGS84 but data (vector point coordinates)
 still have same values as in input data source (i.e. EPSG:25884). Thus
 anyone who forgets to enable "CRS change on fly" option gets bogous
 shapefile as result. Using source CRS for destination when "on the fly"
 reprojection is not enabled is a safe fail-back mechanism in such cases.

 Tested on QGIS 1.4.0 r12103M with fTools 0.5.10.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2092>
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