Andrea Aime wrote:

Hi Andrea,

> thanks for following up on list.
> 
> What you added there seems to be pretty close to this, part of the SLD 1.1
> specification (and supported, but only if the style is written in SLD 1.1):
> https://github.com/geotools/geotools/blob/master/modules/library/render/src/test/resources/org/geotools/renderer/lite/test-data/base64.sld
> 
> The difference I see is that what you suggest would also work with SLD 1.0,
> and would put the long string inside an XML attribute (the href one),
> making it similar to what can be already done in, say, browsers with an IMG
> tag.
> Is that right?

yes, that's true. Another case when this comes in handy is when you
create external graphic styles programmatically, since the inline
content stuff is not contained in the interface but only in the
ExternalGraphicImpl.

That's actually my use case, I'm trying to add support for data uris
in MapFish's json styles.

Best regards, Andreas

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to