you cannot correctly measure in m when you projection is lat/lon if you do not use at least an approximation function, something like 'Distance on ellipsoid'.
You could do a quire coarse calculation applying a factor in the config that converts from degrees to m, it will be ok for N-N but less accurate for E-W (unless you're close to the equator). 1 degree minute (arcminute) corresponds to 1 nautical mile (at the equator, or in N-S direction) , see http://en.wikipedia.org/wiki/Nautical_mile so you can calculate your factor from this correlation. After you set up this solution, please insert the description in the pmapper Wiki FAQ since every now and then someone comes up with a similar question. armin On Tue, Nov 18, 2008 at 1:02 AM, Leonardo Rodriguez Silva <[EMAIL PROTECTED]> wrote: > Hi: > > I am using geographical coordinates in WGS84. (Degrees, minutes and seconds) > > I want to modify the file js_config.php, to use the button of measurement, > and to measure in meters. > > Var pmMeasureUnits = {distance: " [m] ", area: " [m ²] ", factor:1}; > > > But Pmapper does not realize the measurement correctly with factor=1. > > > What is the variable "factor"?... What means this variable ?? > > > Thanks, and excuseme for my bad english¡¡¡¡¡¡¡ > -- > lerods > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users