Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CallumWang opened this issue Sep 4, 2018 · 1 comment
Open

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

CallumWang opened this issue Sep 4, 2018 · 1 comment
Labels

Comments

@CallumWang
Copy link

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

@stolstov
Copy link
Member

stolstov commented Sep 4, 2018

@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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants