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

Quantum GIS qgis at qgis.org
Sun Oct 19 20:54:30 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       
      Resolution:                                    |      Keywords:  UTM SRSID    
Platform_version:                                    |      Platform:  Gentoo       
        Must_fix:  No                                |   Status_info:  0            
-----------------------------------------------------+----------------------
Comment (by fpacheco):

 On Linux (Ubuntu) and Windows:
 I loaded a layer with custom projection (South America LCC: +proj=lcc
 +lat_1=-5 +lat_2=-42 +lat_0=-32 +lon_0=-60 +x_0=0 +y_0=0 +ellps=aust_SA
 +units=m  no_defs) from a PostgreSQL/PostGIS database. Then I selected the
 layer with the mouse. I opened the Python console and wrote
 ''iface.activeLayer().srs().srsid()''. I get the following result
 '''1001'''.

 I loaded a layer with UTM WGS84 15N from a Shape File. Then I selected the
 layer with the mouse. I opened the Python console and wrote
 ''iface.activeLayer().srs().srid()''. I get the following result
 '''2992'''.

 I set a layer's projection by right clicking the layer, selecting
 properties and then selecting Change SRS under the general tab. I changed
 the SRC several times in the same layer and ask again with
 ''iface.activeLayer().srs().srsid()'' and the result always change, then I
 believe that in my case it worked smoothly.

 Could you please send me more information?. Regards, Fernando.

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