[OpenLayers-Users] HELP!!! How implement Filter in WMS Layer

fsalas fsalas at geocuba.cu
Fri Sep 18 12:13:45 EDT 2009


Arnd,

I don't Know why in WMS request ,the EPSG is different of 2085, Its 
EPSG:4326

----- Original Message ----- 
From: "Arnd Wippermann" <arnd.wippermann at web.de>
To: "'fsalas'" <fsalas at geocuba.cu>
Sent: Friday, September 18, 2009 9:06 AM
Subject: AW: [OpenLayers-Users] HELP!!! How implement Filter in WMS Layer


Hi,

You have not added the projection block to the layer. Perhaps it is needed,
i'm not sure. I declare always a projection for the map (as default output),
and for the layers (the data have to be in a specific projection).

If the problem remain, do the next:

The message comes, when the WMS requests for an EPSG, that is not declared
in the wms_srs tag. Have you in OpenLayers the projection for the map set to
EPSG:2085. For the layer you need not declare the SRS, because OpenLayers
add the EPSG from the map to the SRS parameter for the WMS layer.

Use right click on your map to get the url for one tile of your WMS. Paste
the url into the addressbar of your browser. The errormessage should be the
same. But now you can inspect the WMS request. Look at the SRS. Is it
&SRS=EPSG:2085?

Arnd

-----Ursprüngliche Nachricht-----
Von: fsalas [mailto:fsalas at geocuba.cu]
Gesendet: Freitag, 18. September 2009 16:31
An: Arnd Wippermann
Betreff: Re: [OpenLayers-Users] HELP!!! How implement Filter in WMS Layer

Arn , I make your suggestion in my map file but the problem persist

I atach my map file and the error image

regards salas

___________________________________
Dirección de Comunicaciones
Grupo Empresarial GEOCUBA
Este mensaje esta libre de virus.
Revisado por Kaspersky Antivirus
----------------------------------------------------------------------
Definition count:  2596814
Definition date:  9/18/2009
SecurityPlus version: 3.0.5




___________________________________
Dirección de Comunicaciones
Grupo Empresarial GEOCUBA
Este mensaje esta libre de virus. 
Revisado por Kaspersky Antivirus
----------------------------------------------------------------------
Definition count:  2596814
Definition date:  9/18/2009
SecurityPlus version: 3.0.5






More information about the Users mailing list