﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
6440	Issues with Distance conversion from meters to degrees	anonymous	jbronn	"Short example :

{{{
>>> from django.contrib.gis.measure import Distance
>>> d = Distance(m=1)
>>> print d
1.0 m
>>> print d.degree
57.2957795132
}}}


When converting, the following is executed (in measure.py) :

{{{
return self.m / self.UNITS[name]
}}}

Shouldn't it be :

{{{
return self.m * self.UNITS[name]
}}}

Or is the degree declaration wrong ?

{{{
UNITS = {
    ....
    'degree' : 0.0174532925199,
    ....
}
}}}"	Uncategorized	closed	GIS	gis	Normal	fixed	measure distance degree conversion		Accepted	0	0	0	0	0	0
