[mapguide-users] WMS connection config in MGOS 2.1
iaguilera
isidoro.aguilera at aplicad.com
Tue Jan 5 04:12:21 EST 2010
I have found this error in error.log too:
Error: Failed to stylize layer: WMS1
An exception occurred in FDO component.
InvalidDimensionValue:
Parámetros:
version=1.1.1
service=WMS
REQUEST=GetMap
EXCEPTIONS=application/vnd.ogc.se_xml
LAYERS=pnoa
STYLES=
CRS=EPSG:23030
SRS=EPSG:23030
FORMAT=image/png
BBOX=-0.393318,39.570482,-0.388907,39.572926
HEIGHT=554
WIDTH=790
TRANSPARENT=TRUE
BGCOLOR=0xFFFFFF
Descripción del error:
La ventana solicitada es inválida
Servicios disponibles:
iaguilera wrote:
>
> I'm trying to do a WMS connection to the next WMS service:
> http://www.idee.es/wms/PNOA/PNOA
> and layer: pnoa.
>
> I want to configure de coordenate system to EPSG:23030, so I included the
> next config.xml file, but the connection doesn't work. Without config.xml
> file the connection works, but I need to specify the coordinate system.
> Where's the problem?:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <DataStore xmlns:fdo="http://fdo.osgeo.org/schemas"
> xmlns:gml="http://www.opengis.net/gml"
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xlink="http://www.w3.org/1999/xlink"
> xmlns="http://fdo.osgeo.org/schemas"
> xsi:schemaLocation="http://fdo.osgeo.org/schemas FdoDocument.xsd">
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> targetNamespace="http://fdo.osgeo.org/schemas/feature/WMS"
> xmlns:fdo="http://fdo.osgeo.org/schemas"
> xmlns:WMS="http://fdo.osgeo.org/schemas/feature/WMS"
> elementFormDefault="qualified" attributeFormDefault="unqualified">
> <xs:element name="PNOA" type="WMS:PNOA" abstract="false"
> substitutionGroup="gml:_Feature">
> <xs:key name="PNOAKey">
> <xs:selector xpath=".//PNOA"/>
> <xs:field xpath="Id"/>
> </xs:key>
> </xs:element>
> <xs:complexType name="PNOA" abstract="false">
> <xs:complexContent>
> <xs:extension base="gml:AbstractFeatureType">
> <xs:sequence>
> <xs:element name="Id">
> <xs:simpleType>
> <xs:restriction base="xs:string">
> <xs:maxLength value="256"/>
> </xs:restriction>
> </xs:simpleType>
> </xs:element>
> <xs:element name="Image" type="fdo:RasterPropertyType"
> fdo:defaultImageXSize="800" fdo:defaultImageYSize="600">
> <xs:annotation>
> <xs:appinfo source="http://fdo.osgeo.org/schemas">
> <fdo:DefaultDataModel organization="Row"
> bitsPerPixel="32" tileSizeX="100" tileSizeY="100"/>
> </xs:appinfo>
> </xs:annotation>
> </xs:element>
> </xs:sequence>
> </xs:extension>
> </xs:complexContent>
> </xs:complexType>
> </xs:schema>
> <SchemaMapping provider="OSGeo.WMS.3.1" name="WMS"
> xmlns="http://fdowms.osgeo.org/schemas">
> <complexType name="PNOA">
> <RasterDefinition name="Image">
> <Format>png</Format>
> <Transparent>false</Transparent>
> <BackgroundColor>0xFFFFFF</BackgroundColor>
> <Time>current</Time>
> <Elevation>0</Elevation>
> <SpatialContext>EPSG:23030</SpatialContext>
> <Layer name="pnoa">
> <Style/>
> </Layer>
> </RasterDefinition>
> </complexType>
> </SchemaMapping>
> </DataStore>
>
>
--
View this message in context: http://n2.nabble.com/WMS-connection-config-in-MGOS-2-1-tp4250883p4254237.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list