Hi,

I set up a pretty simple project using current QGIS Server (Codeversion 082c6ba) on a Linux machine. The Project is using WGS84 (EPSG:4326). Only one shape file is contained being in EPSG:4326, too.

This is what QGIS server replies:
1) http://localhost/wms/kartenportal_1_9?SERVICE=WMS&VERSION=1.3&REQUEST=GetCapabilities
<Layer queryable="1">
  <Name>Ortsteile</Name>
  <Title>Ortsteile</Title>
  <CRS>EPSG:4326</CRS>
  <EX_GeographicBoundingBox>
    <westBoundLongitude>11.4988</westBoundLongitude>
    <eastBoundLongitude>11.6731</eastBoundLongitude>
    <southBoundLatitude>50.8561</southBoundLatitude>
    <northBoundLatitude>50.9892</northBoundLatitude>
  </EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326" maxx="11.6731" minx="11.4988" maxy="50.9892" miny="50.8561"/>

2) http://localhost/wms/kartenportal_1_9?SERVICE=WMS&VERSION=1.3&REQUEST=GetProjectSettings:
<Layer displayField="name" queryable="1" visible="1">
  <Name>Ortsteile</Name>
  <Title>Ortsteile</Title>
  <CRS>EPSG:4326</CRS>
  <EX_GeographicBoundingBox>
    <westBoundLongitude>11.4988</westBoundLongitude>
    <eastBoundLongitude>11.6731</eastBoundLongitude>
    <southBoundLatitude>50.8561</southBoundLatitude>
    <northBoundLatitude>50.9892</northBoundLatitude>
  </EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326" maxx="50.9892" minx="50.8561" maxy="11.6731" miny="11.4988"/>

In both cases <EX_GeographicBoundingBox> is identical, whereas max* and min* parameters in the BoundingBox tag are interchanged.

QgisWebClient cannot determine a correct maxExtent from GetProjectSettings thus centering on 0,0 upon start.

Is this on purpose?

Bernhard


__________ Information from ESET Mail Security, version of virus signature 
database 8205 (20130408) __________

The message was checked by ESET Mail Security.
http://www.eset.com


_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to