You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example,I have a series coordinates of a polyline. And the coordinates is based on WGS84. However,when I use the calculateLength2D method for polyline. It seems that it gives the plane result using Euclidean Metric. However,this result is not meaningful. So I reckon that it should be firstly projected to a plane coordinates (unit:m). So that I can calculate the length of this polyline?
So how to do coordinate transformation in this library? Or I have to use other library such as GeoTools?
Thanks a lot
The text was updated successfully, but these errors were encountered:
@wxigsnrr The library does not provide support of projections.
If you need to calculate geodesic distance between two vertices on WGS84, you could use GeometryEngine.geodesicDistanceOnWGS84(Point ptFrom, Point ptTo).
The points must be in the WGS84 coordianates.
For example,I have a series coordinates of a polyline. And the coordinates is based on WGS84. However,when I use the calculateLength2D method for polyline. It seems that it gives the plane result using Euclidean Metric. However,this result is not meaningful. So I reckon that it should be firstly projected to a plane coordinates (unit:m). So that I can calculate the length of this polyline?
So how to do coordinate transformation in this library? Or I have to use other library such as GeoTools?
Thanks a lot
The text was updated successfully, but these errors were encountered: