[mapguide-trac] #700: WMS Support for ESPG
MapGuide Open Source
trac_mapguide at osgeo.org
Thu Sep 18 07:10:13 EDT 2008
#700: WMS Support for ESPG
----------------------------+-----------------------------------------------
Reporter: crispinatime | Owner:
Type: defect | Status: new
Priority: medium | Milestone: 2.1
Component: Server | Version: 2.0.1
Severity: major | Keywords: WMS ESPG
External_id: |
----------------------------+-----------------------------------------------
Hi,
having tried every combination under the sun and read and re-read the help
on "Overriding WMS Provider Settings" I still get problems creating a map
based on ESPG:27700.
Happy to provide the WMS server details to anyone who can help.
Crispin
{{{
Error: Failed to stylize layer: WMS_Fife_250k
An exception occurred in FDO component.
The spatial context 'EPSG:27700' is not supported by the layer
'os250k'.
StackTrace:
- MgMappingUtil.StylizeLayers line 792 file
g:\temp\mapguide\mgdev\server\src\services\mapping\MappingUtil.cpp
Failed to stylize layer: WMS_Fife_250k
An exception occurred in FDO component.
The spatial context 'EPSG:27700' is not supported by the layer 'os250k'.
}}}
I have the following in my data connection config.xml file:
{{{
<SchemaMapping provider="OSGeo.WMS.3.3" name="WMS"
xmlns="http://fdowms.osgeo.org/schemas">
<complexType name="Fife_WMS_Class">
<RasterDefinition name="Image">
<Format>png</Format>
<Transparent>true</Transparent>
<BackgroundColor>0xFFFFFF</BackgroundColor>
<Time>current</Time>
<Elevation>0</Elevation>
<SpatialContext>EPSG:27700</SpatialContext>
<Layer name="os250k">
<Style/>
</Layer>
</RasterDefinition>
</complexType>
</SchemaMapping>
}}}
In the getCapabilities I know the coord system is supported:
{{{
<Layer queryable="0" opaque="0" cascaded="0">
<Name>os50k</Name>
<Title>os50k</Title>
<SRS>EPSG:27700</SRS>
<ScaleHint min="4.9895273871448" max="14.9670854528891" />
</Layer>
}}}
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/700>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list