On Sun, Sep 29, 2019 at 9:53 AM Paul van Genuchten <
[email protected]> wrote:

> Hi list, while developing and testing a new SLD tool (
> 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.
>

This is likely due to a recent rendering speed optimization... do you have
a property name included inside the mark name?. Open a ticket with the
specific style causing it.


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

Ticket please


>
> - 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)
>

Ticket please


> 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?
>

The ones without the prefix are the few names included in the SLD standard,
others are extensions, not all of them use shape:// as the prefix,
each mark factory has its own. It would not be a problem having the
standard ones accept shape:// as the prefix, but it would be odd,
as there are other marks prefixed with wkt:// others with windbarbs:// and
so on.

If you are hard pressed to get the ticket fixed please go and have some
colleague do a pull request to fix them

Cheers
Andrea

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information. == Ing. Andrea Aime @geowolf Technical Lead
GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39
0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
------------------------------------------------------- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
_______________________________________________
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