Skip to content

Could I do the coordinate transformation by this library? #201

Open

Description

@CallumWang

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

Activity

  1. stolstov commented on Sep 4, 2018

    @stolstov
    Member

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions