[Qgis-developer] QgsSpatialRefSys::epsg() for user defined CRS

Marco Hugentobler marco.hugentobler at karto.baug.ethz.ch
Tue Feb 27 04:10:54 EST 2007


Hi Tim,

It seems as EPSG 0 is reserved for RT90 coordinate system. But we could use -1 
for initialisation.

Marco

Am Donnerstag, 22. Februar 2007 01:51 schrieb Tim Sutton:
> Hi
>
> Hmm perhaps we should check if 0 is used by epsg and if not initialise
> to that... Magnus do you have any thoughts on this?
>
> Regards
>
> Tim
>
> 2007/2/21, Marco Hugentobler <marco.hugentobler at karto.baug.ethz.ch>:
> > Hi all,
> >
> > I noticed that the function QgsSpatialRefSys::epsg() returns strange
> > values for layers with user defined CRS (probably mEpsg not initialized).
> > What should we do in such cases? Is there an EPSG number for unknown crs
> > or user defined crs?
> >
> > Thanks,
> > Marco
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.qgis.org
> > http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
>
> --



More information about the Qgis-developer mailing list