On Thu, Jul 26, 2012 at 4:40 PM, Johannes Radinger <[email protected]> wrote: > Hi, > > I am just wondering where QGIS takes the EPSG code from when I use the GRASS > plugin to display a GRASS map. > Somehow the EPSG code is set to 2397 (which is wrong, even a wrong > ellipsoid). I don't know the correct EPSG (I have to check how I can get it > inside GRASS), I just know the Projections settings of the GRASS location > (the correct EPSG is close to 31467). So I always have to manually change the > coordinate system of each map...
QGIS runs its GRASS module <qgis dir>/lib/qgisdules/qgis.g.info info=proj which should print CRS WKT, you can try from GRASS shell. WKT is then parsed by QgsCoordinateReferenceSystem.createFromWkt(). Radim > Any suggestions? > > /Johannes > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
