我正在用geoserver写一个风格,我可以像下面的图片一样组织SLD吗?

发布于 2017-01-26 16:31:26
SLD规范允许您使用Graphic to fill a polygon,GeoServer extends the specification来允许使用动态表达式来给出图形的位置。
这个blog post给出了一个使用动态图形的PointSymboliser的例子。它使用外部图形中的递归来生成图像名称:
<ExternalGraphic>
<OnlineResource xlink:type="simple"
xlink:href="http://www.usautoparts.net/bmw/images/states/tn_${STATE_ABBR}.jpg"/>
<Format>image/gif</Format>
</ExternalGraphic>https://stackoverflow.com/questions/41851954
复制相似问题