我的github

修改geoserver服务部分WFS的Features  将原来参数50改更大

https://blog.csdn.net/qq_30940855/article/details/121126607

修改默认值:5万

选择服务->WFS->Maximum number of features for preview

WFS服务简介:https://zhuanlan.zhihu.com/p/480198278

>>PS:一开始还以为是前端请求的问题:

  let xhr = new XMLHttpRequest();
  xhr.open('GET',urlGeoServer,true)
  xhr.onreadystatechange = function() {
    if (this.status == 200) {
      var blob = this.response;
      console.log(blob)  
    }
  }
  xhr.send();

https://blog.csdn.net/qq_27870421/article/details/89890170

好处是可以打印原始数据,$.ajax会将结果自动转为json格式。

posted on 2022-11-03 17:13  XiaoNiuFeiTian  阅读(139)  评论(0编辑  收藏  举报