您好,
建议使用supermap iclient相关地图库,通过iclient库构建featureResults请求,返回时就是geojson格式。
如使用iclient-ol插件,通过GetFeaturesBySQLParameters接口构建数据服务的sql查询,返回格式如下图:
具体接口参考官方网站教程:https://iclient.supermap.io/
希望能够帮助到您。
您好,webgl也可以使用iclient插件,如果项目中使用npm包管理,直接使用npm安装插件即可,参考:https://iclient.supermap.io/web/download/download.html#npm
数据服务查询示例:https://iclient.supermap.io/examples/openlayers/editor.html#02_getFeatureBySQL