Thanks Jody for your answer, I checked the getMap that was working. In that 
request I added an extra <Filter with the xmlns:ogc. Not it works fine.

The getMap:

https://tutorials.kaartviewer.nl/geoserver/amstelveen/wms?LAYERS=Kunstwerken&VERSION=1.3.0&FORMAT=image%2Fpng&TRANSPARENT=true&request=GetMap&SRS=EPSG%3A28992&CRS=EPSG%3A28992&BBOX=108001.04930720347%2C473138.71038362966%2C121313.31282798856%2C479708.9178973405&service=WMS&WIDTH=3331&HEIGHT=1644&FEATURE_COUNT=50&FILTER=<Filter
 xmlns:gml="http://www.opengis.net/gml"; 
xmlns:ogc="http://www.opengis.net/ogc";><ogc:Filter><ogc:Intersects><ogc:PropertyName>geom</ogc:PropertyName><gml:Polygon
 
srsName="http://www.opengis.net/gml/srs/epsg.xml%2328992";><gml:exterior><gml:LinearRing><gml:posList>113857
 477288 115624 478326 115965 476979 115197 476268 113857 
477288</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></ogc:Intersects></ogc:Filter></Filter>&STYLES=

The Legend:
https://tutorials.kaartviewer.nl/geoserver/amstelveen/ows?service=WMS&version=1.3.0&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=Kunstwerken&legend_options=countMatched:true;hideEmptyRules:true;forceLabels:on&FILTER=<Filter
 xmlns:gml="http://www.opengis.net/gml"; 
xmlns:ogc="http://www.opengis.net/ogc";><ogc:Filter><ogc:Intersects><ogc:PropertyName>geom</ogc:PropertyName><gml:Polygon
 
srsName="http://www.opengis.net/gml/srs/epsg.xml%2328992";><gml:exterior><gml:LinearRing><gml:posList>113857
 477288 115624 478326 115965 476979 115197 476268 113857 
477288</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></ogc:Intersects></ogc:Filter></Filter>


> On 19 Aug 2024, at 18:06, Jody Garnett <jody.garn...@gmail.com> wrote:
> 
> You may not be doing anything wrong, it is hard to know yet.
> 
> If you have access to the sever the geoserver logs should show more 
> information than "Rendering process failed. Layers: Kunstwerken" - there 
> should be a stack trace that indicates where the failure occurred in the 
> source code which may provide more of a clue.
> 
> I do not use GetLegendGraphic much and do not have it memorized:
> Q: If you do a GetMap with the same filter if any content is returned by that 
> filter?  I would assume if no features are available an empty image would be 
> returned rather than an error...

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to