Ticket #2092 (closed bug: worksforme)
fTools export/add geometry tool should use source dataset CRS as target dataset CRS
|Reported by:||marisn||Owned by:||cfarmer|
|Priority:||major: does not work as expected||Milestone:||Version 1.4.0|
|Must Fix for Release:||No||Awaiting user input:||no|
Start new project (project CRS is set to WGS84);
Add some vector data source with different CRS (e.g. EPSG:25884);
Launch Vector (fTools)-> Geometry-> Export/Add? geometry colums;
Select added vector as input, specify output and press OK.
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.