projec.invert {RGeoS} | R Documentation |
Translate the coordinates from nautical miles into longitude latitude
projec.invert(x, y, lonrefmin = 1, lonrefmax = 359, latrefmin = -89, latrefmax = 89, eps = 0.0001)
x |
First coordinate of the point in nautical mile |
y |
Second coordinate of the point in nautical mile |
lonrefmin |
Minimum longitude possible value |
lonrefmax |
Maximum longitude possible value |
latrefmin |
Minimum latitude possible value |
latrefmax |
Maximum latitude possible value |
eps |
Search tolerance |
In pratice, the search is performed by dichotomy between the minimum and the maximum of longitude and latitude. The search is also performed for negative values of longitude between -lonrefmax and -lonrefmin.
A list with the longitude and latitude coordinates
x |
Longitude of the point |
y |
Latitude of the point |