开发者

SLD Dynamic Graphic Size

开发者 https://www.devze.com 2023-04-05 22:25 出处:网络
Does anybody know that is possible to make the value oftag to dynamic in SLD? I\'m using geoserver to define a style, but I need more different size objects.

Does anybody know that is possible to make the value of tag to dynamic in SLD?

I'm using geoserver to define a style, but I need more different size objects.

I mean like this:

      <Graphic>
        <Mark>
          <WellKnownName>square</WellKnownName>
          <Fill>
            <CssParameter name="fill">#FF0000</CssParameter>
          </Fill>
  开发者_C百科      </Mark>
        <Size>${poi_size}</Size>
      </Graphic> 

If anybody knows that how can I have to do this, please answer.

Much appreciated for the answers.


Finally, I found the answer for my question here: http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/points.html#attribute-based-point

0

精彩评论

暂无评论...
验证码 换一张
取 消