WKID question of OGCGeometry.fromText() and OGCGeometry.fromBinary()
还没有人认领这个 Issue。
评估
调研方向
从 OGCGeometry.fromText(String) 及其对应的 fromBinary 方法开始,然后将它们对空间参考的处理与 fromGeoJson 和 fromJson 进行比较。调查 st_contains 和 st_intersects 等关系方法如何使用空间参考。完成的标准是确定并记录对于非 4326 输入所预期的 WKID 行为。
由索引模型根据 Issue 内容生成。
描述
public static OGCGeometry fromText(String text) {
OperatorImportFromWkt op = (OperatorImportFromWkt)OperatorFactoryLocal.getInstance().getOperator(Type.ImportFromWkt);
OGCStructure ogcStructure = op.executeOGC(0, text, (ProgressTracker)null);
return createFromOGCStructure(ogcStructure, SpatialReference.create(4326));
}
For this function (same as fromBinary), it will output OGCGeometry using the WKID 4326 directly. If the input text has some information of SRID which is not 4326, what should we do? Or current api for all the relations (such as st_contains, st_intersects etc.) is just suited for 4326 spatial reference system. In the function fromGeoJson or fromJson, it will parse the WKID from the Json input and set the SpatialReference. Here, I have a question: if the SRID is not 4326, when we do the relation query for these geometries, do we use the spatial reference system in the input JSON, or we change the spatial reference system to the 4326? Thank you!
- 主要语言
- Java
- 星标
- 710
- 派生
- 268
- 平均合并
- 7 天 23 小时
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Esri/geometry-api-java 的其他 Issue
-
bug fixed_to_verify
Esri/geometry-api-java#328 · 3 条评论 · 已指派 1 人 ·
-
难度 5/5 一周以上 新手友好度 35/100
Esri/geometry-api-java#324 · 17 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
Esri/geometry-api-java#321 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 30/100
Esri/geometry-api-java#320 · 1 条评论 ·
-
cannot reproduce
难度 4/5 3-5 天 新手友好度 35/100
Esri/geometry-api-java#316 · 5 条评论 ·
查看 Esri/geometry-api-java 的全部 Issue
相似的 Issue
-
area/plugin
难度 2/5 1-3 小时 新手友好度 75/100
kestra-io/plugin-kestra#190 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
apache/rocketmq-dashboard#5064 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
wso2/dpdp-accelerator#287 ·