Hi,
I fear I can't help much with this but noticed two things which may be worth
checking.
- WMS version 1.0.0 is very rarely used so I would use version 1.1.1 instead
- You have Filter KVP two times as &Filter=.....&Filter= I believe it is wrong
and WMS server takes only one, either the first or the latter. Try to insert
them into one &Filter=. Comma is used as a separator in other places in WMS.
-Jukka Rahkonen-
________________________________
Lähettäjä: Klemm, Stephan - LIST [mailto:[email protected]]
Lähetetty: 29. syyskuuta 2011 12:26
Vastaanottaja: [email protected]
Aihe: [Geoserver-users] getMap with multiple filter
Hi all,
i need a getMap Request URL over several Layer to emphasize a tree around a
distance of 50m. The fist attempts were successful with:
http://IP:8080/TestGS/ows?&SERVICE=wms&VERSION=1.0.0&Transparent=true&layers=MV1461&REQUEST=GetMap&bbox=4672312,5676305,4672582,5676575&SRS=EPSG:31468&WIDTH=350&HEIGHT=200&FORMAT=image/png&Filter=<ogc:Filter
xmlns:ogc="http://ogc.org"
xmlns:gml="http://www.opengis.net/gml"><ogc:DWithin><ogc:PropertyName>GEOM</ogc:PropertyName><gml:Point
srsName="http://www.opengis.net/gml"><gml:coordinates>4672447.001,5676440.448</gml:coordinates></gml:Point><Distance
units='m'>50</Distance></ogc:DWithin></ogc:Filter>&Filter=<ogc:Filter
xmlns:ogc="http://ogc.org"
xmlns:gml="http://www.opengis.net/gml"><ogc:DWithin><ogc:PropertyName>GEOM</ogc:PropertyName><gml:Point
srsName="http://www.opengis.net/gml"><gml:coordinates>4672447.001,5676440.448</gml:coordinates></gml:Point><Distance
units='m'>50</Distance></ogc:DWithin></ogc:Filter>
The next Level is the Request with 3 other Layern like Streets, Nullpunkte
(points) and Orthophotos (aerial pictures).
An Request like
http://IP:8080/TestGS/ows?&SERVICE=wms&VERSION=1.0.0&Transparent=true&layers=MV1461,Strassennetz&REQUEST=GetMap&bbox=4672312,5676305,4672582,5676575&SRS=EPSG:31468&WIDTH=350&HEIGHT=200&FORMAT=image/png&Filter=<ogc:Filter
xmlns:ogc="http://ogc.org"
xmlns:gml="http://www.opengis.net/gml"><ogc:DWithin><ogc:PropertyName>GEOM</ogc:PropertyName><gml:Point
srsName="http://www.opengis.net/gml"><gml:coordinates>4672447.001,5676440.448</gml:coordinates></gml:Point><Distance
units='m'>50</Distance></ogc:DWithin></ogc:Filter>&Filter=<ogc:Filter
xmlns:ogc="http://ogc.org"
xmlns:gml="http://www.opengis.net/gml"><ogc:DWithin><ogc:PropertyName>GEOM</ogc:PropertyName><gml:Point
srsName="http://www.opengis.net/gml"><gml:coordinates>4672447.001,5676440.448</gml:coordinates></gml:Point><Distance
units='m'>50</Distance></ogc:DWithin></ogc:Filter>
returns the message:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
ServiceExceptionReport SYSTEM
"http://172.24.51.2:8080/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1" > <ServiceException>
Layers and filters are mismatched, you need to provide one filter for
each layer
</ServiceException></ServiceExceptionReport>
How can I integrate multiple filters in the request?
Thanks for any help.
Stephan
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users