Esri / Esri/geometry-api-java

OperatorExportToGeoJson doesn't export the spatial reference.

未关闭
#49 0 条评论 0 个 reaction 已指派 1 人 已被 @abalog 认领 在 GitHub 查看
enhancement
主要语言
Java
星标
710
派生
269
平均合并
7 天 23 小时
30 天内合并 PR
1

描述

To reproduce, run OperatorExportToGeoJson.local().execute with exportFlags = GeoJsonExportFlags.geoJsonExportDefaults, spatial reference wkid = 3857, and the following geometry:

{"rings":[[[1600,9082],[1600,8682],[1100,8682],[1100,9082],[1600,9082]]]}

The output looks like this:
{"type":"Polygon","coordinates":[[[1600.0,9082.0],[1600.0,8682.0],[1100.0,8682.0],[1100.0,9082.0],[1600.0,9082.0]]]}

It really would be better to have the spatial reference in the output especially since it is an input parameter.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。