Esri / Esri/geometry-api-java

Base Classes for entire ESRI Stack (Java)

オープン
#91 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
710
フォーク
269
平均マージ
7日 23時間
マージ済み PR(30日)
1

説明

In summary, I believe that this project (or refactored project) should be the base Geometry library for all ESRI Java projects, where other ESRI SDKs reference this project.

Quoting from my comments on the Early Adopter feedback forum (ArcGIS Runtime SDK for Android)

> I'd like to start a discussion around the various base classes that we use in the SDKs and other software.
>
> Many base classes (e.g. Point) are available from the [Geometry API Java](https://github.com/Esri/geometry-api-java), which is a great open source resource. It would be wonderful if the released SDKs also used those base classes (gradle / mvn dependency) as that helps avoid namespace collisions or boilerplate to convert one ESRI point to another ESRI point.
>
> Whilst working on the production API I have come across numerous collisions, which slows productivity. Right this second, The Geometry API has ["GeometryEngine.geodesicDistanceOnWGS84"](https://github.com/Esri/geometry-api-java/blob/master/src/main/java/com/esri/core/geometry/GeometryEngine.java#L900) whereas the Android SDK requires us to use [GeometryEngine.geodesicDistance"](https://developers.arcgis.com/android/api-reference/reference/com/esri/core/geometry/GeometryEngine.html#geodesicDistance%28com.esri.core.geometry.Point, com.esri.core.geometry.Point, com.esri.core.geometry.SpatialReference, com.esri.core.geometry.LinearUnit%29) - both in the same namespace. I see in the Quartz API we have [distanceBetween](https://developers.arcgis.com/android/beta/api-reference/reference/com/esri/arcgisruntime/geometry/GeometryEngine.html), which is a third permutation. Similarly, Geometry.dropAllAttributes is public in the geometry API _but_ default in the Android SDK.
>
> An ideal way forward would be to have well defined base classes (open source as the [geometry library](https://github.com/Esri/geometry-api-java) that everyone can use throughout their private code _but_ ALSO enables them to easily access the ESRI SDK methods.

@shellygill

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。