Hi all
I am trying to convert some SLD styles to YSLD.
When following the instructions for automatic conversion via the REST
interface, I get errors (NullPointerException) for some styles.
I tried to recreate them from scratch, but I when trying to write an
expression for a parameter expecting a tuple as input (namely, "anchor"
and "displacement" parameters).
How am I suppose to write this in ysld ? In sld, it is as
straightforward as with any other parameter, simply using propertyname
where appropriate :
<sld:PointPlacement>
<sld:AnchorPoint>
<sld:AnchorPointX>
<ogc:PropertyName>anchx</ogc:PropertyName>
</sld:AnchorPointX>
<sld:AnchorPointY>
<ogc:PropertyName>anchy</ogc:PropertyName>
</sld:AnchorPointY>
</sld:AnchorPoint>
But in YSLD, how am I supposed to write this ? I tried different bracket
combinations, but none of them worked, so I thought maybe that was the
reason for my conversion error : this could not be converted to YSLD ?
Thanks for your help
Regards
--
Arnaud
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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