ArcGIS平台对OGC WMS服务功能咨询
WMS服务是否可以支持图层顺序调整,客户端符号化和要素过滤筛选。
发起人
相关问题
- 如何优雅的使用ArcGIS知乎?
- 建设ArcGIS知乎平台的目和意义?
- ArcGIS知乎社区改进意见征集
- 【抽奖结果已出】ArcGIS知乎社区活动 之 你不知道的地理空间革命【转发分享有奖】【附奖品寄送照片】
- 苹果系统下可以使用arcgis 吗?
- 请问ArcGIS适合在局域网内用javaweb做二次开发吗?
- arcgis版本兼容性
- ArcGIS 知乎社区活动 之 2018拒绝boring,来,在线答题赢kindle【结果已出,速来领奖】
- ArcGIS 知乎社区活动 之 字幕组加鸡腿暨KBP字幕组招新【获奖名单公布与优秀作品展示】
- 请问大神们,怎么用ArcGIS做城镇间经济联系强度的图?
- ArcGIS如何求栅格图像的“质心”
问题状态
- 最新活动: 2015-12-28 10:03
- 浏览: 2148
- 关注: 1 人
1 个回复
马克玲
赞同来自:
1、是否支持客户端指定符号?
可以支持。说明和操作步骤:
Using external SLDs from the client side
With WMS services, users are not limited to the styles published on the server. Clients can reference an applicable SLD file in the WMS GetMap request so that the WMS service renders the map using their own styles.
Using an external SLD from the client side involves the following steps:
1)Create a single SLD XML document that defines multiple styles for each layer in the WMS service, or you can use a public SLD XML if it''s applicable to your WMS service.
2)Make the SLD XML accessible through a URL that is accessible to the server (if you use a public SLD XML, make sure it''s accessible as a URL).
3)Change the values of the LAYERS and STYLES parameters in the original WMS HTTP GetMap request to indicate which style the WMS server should use to render each layer.
4)Send the SLD XML to the WMS server and request the map by adding one more key-value parameter pair (SLD=<sld_xml_url>) to the end of a WMS HTTP GetMap request string.
2、是否支持要素过滤?
可以支持。说明和样例参考:
GetFeatureInfo
Filter the country layer by only obtaining information for countries that have a population greater than one million and contain a river named Amazon: layerDefs={country:POP_CNTRY>100000000,rivers:NAME LIKE ''Amazon''}.
Sample request:
http://gisserver.domain.com:60 ... D-180,-90,180,83.604158999999996&WIDTH=660&HEIGHT=318&LAYERS=country,rivers&STYLES=default,default&EXCEPTIONS=xml&FORMAT=image/png&BGCOLOR=0xFEFFFF&TRANSPARENT=TRUE&QUERY_LAYERS=country,rivers&INFO_FORMAT=text/html&I=50&J=50&layerDefs={country:POP_CNTRY>100000000,rivers:NAME LIKE ''Amazon''}
3、是否支持调整图层顺序?
可以支持。通过调整Layers 参数中图层ID 的顺序即可。示例参考:
http://sampleserver1.arcgisonl ... 17598,18.924782,-66.969271,71.406235&width=760&height=360&layers=2,1&styles=default,default&format=image/png
http://sampleserver1.arcgisonl ... 17598,18.924782,-66.969271,71.406235&width=760&height=360&layers=1,2&styles=default,default&format=image/png
要回复问题请先登录或注册