logo separator

[mkgmap-dev] how to convert Coord.distanceInDegreesSquared() to MapUnits?

From GerdP gpetermann_muenchen at hotmail.com on Tue Jan 29 20:54:29 GMT 2013

Hi,

what is the correct way to convert the value
returned by Coord.distanceInDegreesSquared() into map units?

A simple code like this seems not to work:
double distSq = co1.distanceInDegreesSquared(co2);
int mapUnits = Utils.toMapUnit(Math.sqrt(distSq));

Gerd



--
View this message in context: http://gis.19327.n5.nabble.com/how-to-convert-Coord-distanceInDegreesSquared-to-MapUnits-tp5747103.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list