【问题标题】:Get all WMS layer features from the Openlayers 3 with in selected bounding box?在选定的边界框中从 Openlayers 3 中获取所有 WMS 图层功能?
【发布时间】:2018-05-29 01:26:25
【问题描述】:

对于矢量图层,我们有解决方案来获取边界框中的特征。

PFB解决方案

http://tsauerwein.github.io/ol3/animation-flights/examples/box-selection.html

但是,对于 WMS 层有没有相应的解决方案?

【问题讨论】:

    标签: openlayers-3 geoserver wms


    【解决方案1】:

    WMS 层有没有相应的解决方案?

    据我所知没有。 似乎从 GIS.stackexchange 论坛上的这个主题 "Use GetFeatureInfo with OpenLayers and a Bounding Polygon" 和阅读官方 GeoServer WMS GetFeatureInfo documentation section 得到证实

    【讨论】:

    • 感谢@Thomas Gratier 的快速回放和确认
    【解决方案2】:

    部分解决方案:

    使用 WFS 服务,我们可以传递多边形几何并从地理服务器获取特征。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-22
      相关资源
      最近更新 更多