Thanks for the updates.

I have another in progress about RGBA color handling (Mapbox GL handles
> opacity with both the color spec and the opacity, the
> translator only uses the latter)... I have a work in progress that uses
> functions to move around the color in its full RGBA form,
> needs a bit more tests, but first wanted to check if the road is
> acceptable, or if we should extract the alpha from the color
> and multiply it with the explicit opacity in the fill-opacity,
> stroke-opacity settings instead (seems harder and more convoluted to me...).
>

I wrestled with this back when outlining the initial project.

I would rather the internals of mbstyle module be "harder and more
convoluted") then to force complexity on the render and the other formation
encoders/parsers.

That said the render appears to already support RGBA colors, so I expect we
have an rgba + opacity to consider everywhere
- ColorConverterFactory.java
<https://github.com/geotools/geotools/blob/0e49d4257a7edb54053ccaa85d7f8aec5f0dc144/modules/library/main/src/main/java/org/geotools/data/util/ColorConverterFactory.java#L78>
- IntegerRgbAccessor.java
<https://github.com/geotools/geotools/blob/master/modules/library/render/src/main/java/org/geotools/renderer/composite/IntegerRgbAccessor.java>
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to