[Qgis-developer] Extract epgs code from input layer

francescoboccacci at libero.it francescoboccacci at libero.it
Sat Feb 16 05:58:22 PST 2013


Hi all,
i would like to extract epsg code from inputvector layer.
My code is:

vlayerA = QGisLayers.getObjectFromUri(self.getParameterValue(href.INPUT))
self.epsg = vlayerA.crs().srsid()

Is it corrects?
If i print the values it show strange value.

Thanks

Francesco


More information about the Qgis-developer mailing list