[QGIS-trac] Re: [Quantum GIS] #3632: incorrect reprojection on windows (7), fine on linux

Quantum GIS qgis at qgis.org
Sat Mar 19 23:52:36 EDT 2011


#3632: incorrect reprojection on windows (7), fine on linux
---------------------------------------------------------+------------------
   Reporter:  nirvn                                      |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.7.0
  Component:  Projection Support                         |            Version:  Trunk        
   Keywords:                                             |   Platform_version:               
   Platform:  Windows                                    |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------

Comment(by nirvn):

 The problem isn't limited to raster, issue also affecting vectors.

 Steps to reveal issue using vectors:

  1. Create a new program, set the CRS to UTM Indian 1960 48N and activate
 on the fly reprojection.
  1. Load the kml vector @ http://licadho-cambodia.org/qgis/chub.kml into
 the project
  1. Using the gdal's ogr2ogr tool, transform the chub.kml (WGS84 datum) to
 a shapefile (Indian 1960 48N datum) by executing a command like this:
 ogr2ogr -f "ESRI Shapefile" -overwrite "ogr2ogr-indian196048n.shp"
 "c:/location/of/your/kml/chub.kml" -T_SRS EPSG:3148
  1. Load the generated shapefile into your project

 Notice the location/projection difference (again +450 meter difference).

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3632#comment:4>
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