sld中使用多个字段做标注

概述

本文讲述如何在SLD中使用多个字段做标注。

效果

多字段标注

实现代码

<sld:Label>
    <ogc:Function name="strConcat">
            <ogc:Function name="strConcat">
                    <ogc:Function name="strConcat">
                            <ogc:PropertyName>NAME</ogc:PropertyName>
                            <ogc:Literal>(</ogc:Literal>
                    </ogc:Function>
                    <ogc:PropertyName>PINYIN</ogc:PropertyName>
            </ogc:Function>
            <ogc:Literal>)</ogc:Literal>
    </ogc:Function>
</sld:Label>

类型 内容
qq 1004740957
公众号 lzugis15
e-mail niujp08@qq.com
webgis群 1004740957
Android群 337469080
GIS数据可视化群 458292378

技术博客
CSDN:http://blog.csdn.NET/gisshixisheng
博客园:http://www.cnblogs.com/lzugis/
在线教程
http://edu.csdn.Net/course/detail/799
Github
https://github.com/lzugis/
联系方式

类型 内容
qq 1004740957
公众号 lzugis15
e-mail niujp08@qq.com
webgis群 1004740957
Android群 337469080
GIS数据可视化群 458292378
LZUGIS

阅读原文

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容