[QGIS-trac] Re: [Quantum GIS] #2337: Projection issue

Quantum GIS qgis at qgis.org
Sat Jan 2 12:06:47 EST 2010


#2337: Projection issue
--------------------------------------------------------------+-------------
        Reporter:  dr                                         |         Owner:  nobody       
            Type:  bug                                        |        Status:  new          
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.5.0
       Component:  Projection Support                         |       Version:  HEAD         
      Resolution:                                             |      Keywords:               
Platform_version:                                             |      Platform:  All          
        Must_fix:  Yes                                        |   Status_info:  0            
--------------------------------------------------------------+-------------
Changes (by lutra):

  * priority:  major: does not work as expected => critical: causes crash
               or data corruption
  * must_fix:  No => Yes

Comment:

 If the points you are importing are in the WGS84 /UTM zone system, then
 you need to configure the vector crs accordingly in the vector properties
 -> general tab. Alternatively save the imported csv as shapefile (right
 button in the legend -> save as shapefile) and qgis will ask you the crs
 of the vector.

 In my case (Ubuntu linux, qgis 1.4), with OTFR enabled, the imported csv
 defined with the wrong crs and other layers, I'm not experiencing freezes,
 but I cannot see anything in the canvas.

 But that is not the worst part:

 define the correct crs (WGS84 /UTM zone 43N CRS) for the imported csv,
 enable otfr and define as project crs WGS84 /UTM zone 43N CRS. Add a wgs84
 layer (example:
 http://thematicmapping.org/downloads/TM_WORLD_BORDERS-0.3.zip ), it will
 show fine.

 Zoom out, at some point qgis crashes:


 {{{
 Fatal: ASSERT: "std::abs( r_d ) > SMALL_NUM && std::abs( r_n ) >
 SMALL_NUM" in file /home/gio/qgis/qgis_unstable/src/core/qgsclipper.h,
 line 270
 Aborted
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2337#comment:1>
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