-
Notifications
You must be signed in to change notification settings - Fork 260
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
project Method is missing #50
Comments
Hi Karsten, Oh you are correct. We have the "project" method in the API documentation, but it's not implemented in code! Whoops! A pull request would be great. |
OK, this is now fixed |
@kviolka Dude, how do you project? Could you give me some sample code, I am obviously dumb... I have something like:
How to get distance in meters? How to invoke properly |
If you are using geographical coordinates (lat, lon) then greatCircleLength() is your friend:
|
@BathoryPeter DUDE! You are awesome! Thanks! How about calculating shortest distance between two, per example, polygons? Is that possible? How to do that? BTW, your recipe, as well as my second question -> I think that it should be part of the documentation, it is quite common... |
Hi,
i would like to calculate some distances in meters with the GEOS extension. In the standard WGS84 projection the distance function returns no meters, but degrees. So I learned I have to project to a different SRID.
The project method is not implemented, any reason for this? Maybe I can supply a patch.
best,
Karsten
The text was updated successfully, but these errors were encountered: