我正在从Geoserver获取此GeoJSON。
{"type":"FeatureCollection","features":[{"type":"Feature","id":"Sensores propios.4022","geometry":{"type":"Point","coordinates":[41.64893,-0.88499]},"geometry_name":"geom","properties":{}},...
但是,为了在地图上显示此数据,我想按东/北顺序检索它。在上面的示例中:[-0.88499,41.64893]。如何查询GeoServer以获得我想要的?
我有同样的情况:(
结果:
{“ type”:“ FeatureCollection”,“ features”:[{“ type”:“ Feature”,“ id”:“ m_dieuchinh_qh.fid--68620922_172a8d7e0be_-367”,“ geometry”:{“ type”:“ MultiPolygon“,” coordinates“:[[[[[10.77185385,106.69801306],[10.77184427,106.69795489],[10.77187931,106.69790771],[10.77282749,106.69733126],[10.77288457,106.69735212],[10.77328694,106.69804922 ],[10.77226864,106.69866677],[10.77222319,106.69863178],[10.77185385,106.69801306]]]]},“ geometry_name”:“ geom”,“ properties”:{“ description”:null,“ name”:null,“ boundedBy“:null,” gid“:99254,” level“:30,” layer“:” Level 30“,” masdd“:” DCH“,” loaidat“:”Đấtchợ“,” dientich“:12878.1423885,” tenloaidat“:”Đấtchợ“,” color“:”#FFAAA0“}}]],” totalFeatures“:” unknown“,” numberReturned“:1,” timeStamp“:” 2020-06-12T14:05:48.162Z“ ,“ crs”:{“ type”:“ name”,“ properties”:{“ name”:“ urn:ogc:def:crs:EPSG :: 4326”}}}] >>
将北/东坐标更改为北/东坐标的任何帮助