[mapguide-users] WMS from MGOS can't be read by QGIS

Franz1965 fsozzi at INTERCAD.CH
Fri Jan 25 02:30:24 PST 2013


I have a problem on reading WMS published from MGOS.
I have a very simple service on a basic SHP layer with EPSG:21781 and
EPSG:4326.
I define a layer as queryable and if I try to open in QGIS I can see my
layer in the list (GetCapabilities seems working properly), but if I add
layer to map I get an error.
But if I try to read this service from Autodesk Map3D, it works properly.

This is layer row header:

/<?xml version="1.0"?>
<ResourceDocumentHeader
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
  <General>
    <IconName>LayerDefinitionVector</IconName>
  </General>
  <Security>
    <Inherited>true</Inherited>
  </Security>
  <Metadata>
    <Simple>
      <Property>
        <Name>_Opaque</Name>
        <Value>0</Value>
      </Property>
      <Property>
        <Name>_IsPublished</Name>
        <Value>1</Value>
      </Property>
      <Property>
        <Name>_Bounds</Name>
        <Value><Bounds SRS="EPSG:4326" west="8.371" south="45.825"
east="9.174" north="46.629" /> <Bounds SRS="EPSG:21781"
west="672484.296" south="75272.190" east="732910.616" north="165700.540"
/></Value>
      </Property>
      <Property>
        <Name>_Title</Name>
        <Value>LayerDefinitionSHPComuni</Value>
      </Property>
      <Property>
        <Name>_Queryable</Name>
        <Value>1</Value>
      </Property>
    </Simple>
  </Metadata>
</ResourceDocumentHeader>/

>From QGIS
1) I connect to http://localhost/mapserver2013/mapagent/mapagent.fcgi 
2) set coordinate system to CH1903/LV03 
3) add to map

Then I get this error

/Response: <?xml version="1.0" encoding="UTF-8" ?>

<ServiceExceptionReport version="1.3.0" 
   xmlns="http://www.opengis.net/ogc"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.opengis.net/ogc
http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
 <ServiceException code="InternalError">
  Unexpected exception was thrown.  No additional details available.
 </ServiceException>
</ServiceExceptionReport>/

Anybody has any idea about what's wrong?...



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/WMS-from-MGOS-can-t-be-read-by-QGIS-tp5029828.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list