WKID question of OGCGeometry.fromText() and OGCGeometry.fromBinary()
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
Hướng nghiên cứu
Bắt đầu với OGCGeometry.fromText(String) và phương thức fromBinary tương ứng, sau đó so sánh cách xử lý tham chiếu không gian của chúng với fromGeoJson và fromJson. Điều tra cách các phương thức quan hệ như st_contains và st_intersects sử dụng tham chiếu không gian. Hoàn thành khi xác định và ghi lại hành vi WKID dự kiến đối với các đầu vào không phải 4326.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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!
- Ngôn ngữ chính
- Java
- Star
- 710
- Fork
- 268
- Merge trung bình
- 7 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Esri/geometry-api-java
-
bug fixed_to_verify
Esri/geometry-api-java#328 · 3 bình luận · 1 người được giao ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Esri/geometry-api-java#324 · 17 bình luận · 1 reaction ·
-
esrijson to geojson Exception Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Esri/geometry-api-java#321 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
Esri/geometry-api-java#320 · 1 bình luận ·
-
cannot reproduce
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Esri/geometry-api-java#316 · 5 bình luận ·
Tất cả issue của Esri/geometry-api-java
Issue tương tự
-
executions.Query — startDate and timeRange filters are sent with inverted comparison operators Đang mởarea/plugin
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
kestra-io/plugin-kestra#190 ·
-
litertlm-android AAR ships no consumer ProGuard rules → "mid == null" SIGABRT in minified apps Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Add canonical URLs and a sitemap Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
apache/rocketmq-dashboard#5064 ·