Hi list, while developing and testing a new SLD tool 
(https://github.com/GeoCat/bridge-style 
<https://github.com/GeoCat/bridge-style>), I noticed the following challenges 
in Geoserver (2.16)/GeoTools. I would love to hear your thoughts about them.

- When a style uses a mark that is not known to Geoserver, I get this error
2019-09-29 09:00:53,437 ERROR [renderer.lite] - The specified mark 
org.geotools.renderer.lite.MemoryFilterOptimizer$IndexPropertyName@299edc75 was 
not found!
java.lang.IllegalArgumentException: The specified mark 
org.geotools.renderer.lite.MemoryFilterOptimizer$IndexPropertyName@299edc75 was 
not found!
        at 
org.geotools.renderer.style.SLDStyleFactory.createMarkStyle(SLDStyleFactory.java:643)
Alternative could be to skip the error and just don’t render the mark, or use a 
default mark? At least in the error I would expect the missing mark is 
mentioned by name and not by @299edc75.

- When a stroke-dash-array is used in combination with a perpendicularoffset, 
the stroke-dash-array is removed (resulting in straight line). 

- An empty <VendorOption name="graphic-margin”/> on a marker fill results in a 
geotools error:
2019-09-23 19:52:22,111 ERROR [geotools.rendering] - 
java.lang.NullPointerException at 
org.geotools.styling.visitor.UomRescaleStyleVisitor.scaleIntArrayOption(UomRescaleStyleVisitor.java:283)
 

Alternative would be to skip the parameter if it is empty.

- Some marks require the shape:// prefix, others don’t. Would it be an option 
to allow a prefix for marks and never require it?


_______________________________________________
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


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to