将地理空间数据从东北/东到东/北重新投影

问题描述 投票:0回答:1

我正在从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以获得我想要的?

gis geojson geoserver
1个回答
0
投票

我有同样的情况:(

http://120.72.116.162/geoserver/wms?service=WMS&version=2.0.0&request=GetFeatureInfo&layers=tnmt%3ARanhthua_Quyhoach&styles=&format=image%2Fpng&transparent=true&info_format=application/json&tiled=true&width=725&height=610&crs=EPSG:4326&bbox=106.69138669967653,10.76834500964675,106.7069435119629,10.781203422844277&query_layers=tnmt%3ARanhthua_Quyhoach&FEATURE_COUNT=1&X=310&Y=414

结果:

{“ 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”}}}] >>

将北/东坐标更改为北/东坐标的任何帮助

© www.soinside.com 2019 - 2024. All rights reserved.