[QGIS-trac] [Quantum GIS] #1339: Can't set projection to WGS84 UTM Zone 15N

Quantum GIS qgis at qgis.org
Tue Oct 7 15:41:47 EDT 2008


#1339: Can't set projection to WGS84 UTM Zone 15N
------------------------------------------------+---------------------------
   Reporter:  vedgewater                        |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.0.0
  Component:  Projection Support                |            Version:  0.11.0       
   Keywords:  UTM SRSID                         |   Platform_version:               
   Platform:  Gentoo                            |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 Hello there,

 I'm trying to write a python plugin which needs to determine
 georeferencing info for layers.

 I set a layer's projection by right clicking the layer, selecting
 properties and then selecting Change SRS under the general tab.

 I select SRSID 2992 ( UTM Z 15N ) and click apply

 In my python code, I am doing something like this:

 srsID = regionLayer.srs().srsid()

 srsID always comes out as 3344 instead of 2992!

 Other queries through srs() also seem to say the layer is of longlat
 instead of UTM as I tried to define.

 Is this a known issue?



 Regards,

 Vince

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