[Qgis-developer] espg element removed from qgs project file?

Richard Duivenvoorde rdmailings at duif.net
Wed Mar 24 11:35:52 EDT 2010


Hi Devs,

trying to update the mapserver-export part of the documentation with a 
fresh build from qgis-trunk I catched an error for the plugin ...

It have an error in the WEB part of the mapserver because in the 'old' 
version of qgs project files there was always an element 'epsg' which 
held the epsg-number for current project.
It is used to write following line in the WEB part:
       'ows_srs'             'EPSG:28992'

Questions:
- is the removeal of the epsg-element deliberate?
- if so, should I use authid-element-value then to get the right value 
for ows_srs, and will this always be an EPSG:xxxxx value?

I will fix this in the mapserver asap, because at this moment the plugin 
is plain broken :-(

Regards,

Richard Duivenvoorde

ps old and new <destinationsrs>-part of qgs files:

NEW:
<destinationsrs>
	<spatialrefsys>
		<proj4>+proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 
+k=0.9999079 +x_0=155000 +y_0=463000 +ellps>
		<srsid>2517</srsid>
		<srid>28992</srid>
		<epsg>28992</epsg>
		<description>Amersfoort / RD New</description>
		<projectionacronym>sterea</projectionacronym>
		<ellipsoidacronym>bessel</ellipsoidacronym>
		<geographicflag>false</geographicflag>
	</spatialrefsys>
</destinationsrs>

OLD:
<destinationsrs>
	<spatialrefsys>
		<proj4>+proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 
+k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +units=m>
		<srsid>2517</srsid>
		<srid>28992</srid>
		<authid>EPSG:28992</authid>
		<description>Amersfoort / RD New</description>
		<projectionacronym>sterea</projectionacronym>
		<ellipsoidacronym>bessel</ellipsoidacronym>
		<geographicflag>false</geographicflag>
	</spatialrefsys>
</destinationsrs>




More information about the Qgis-developer mailing list