1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

gis: Fixed #6440. Removed degree conversion from Distance -- should not have been placed here because it is a spherical conversion factor in radians (not meters).

git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@7047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Justin Bronn 2008-01-28 16:31:41 +00:00
parent 00292ad02e
commit 06f2ddeb51

View File

@ -48,7 +48,6 @@ class Distance(object):
'cm' : 0.01,
'british_ft' : 0.304799471539,
'british_yd' : 0.914398414616,
'degree' : 0.0174532925199,
'clarke_ft' : 0.3047972654,
'clarke_link' : 0.201166195164,
'fathom' : 1.8288,
@ -99,7 +98,6 @@ class Distance(object):
"Clarke's link" : 'clarke_link',
'Chain (Benoit)' : 'chain_benoit',
'Chain (Sears)' : 'chain_sears',
'Decimal Degree' : 'degree',
'Foot (International)' : 'ft',
'German legal metre' : 'german_m',
'Gold Coast foot' : 'gold_coast_ft',