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:
parent
00292ad02e
commit
06f2ddeb51
@ -48,7 +48,6 @@ class Distance(object):
|
|||||||
'cm' : 0.01,
|
'cm' : 0.01,
|
||||||
'british_ft' : 0.304799471539,
|
'british_ft' : 0.304799471539,
|
||||||
'british_yd' : 0.914398414616,
|
'british_yd' : 0.914398414616,
|
||||||
'degree' : 0.0174532925199,
|
|
||||||
'clarke_ft' : 0.3047972654,
|
'clarke_ft' : 0.3047972654,
|
||||||
'clarke_link' : 0.201166195164,
|
'clarke_link' : 0.201166195164,
|
||||||
'fathom' : 1.8288,
|
'fathom' : 1.8288,
|
||||||
@ -99,7 +98,6 @@ class Distance(object):
|
|||||||
"Clarke's link" : 'clarke_link',
|
"Clarke's link" : 'clarke_link',
|
||||||
'Chain (Benoit)' : 'chain_benoit',
|
'Chain (Benoit)' : 'chain_benoit',
|
||||||
'Chain (Sears)' : 'chain_sears',
|
'Chain (Sears)' : 'chain_sears',
|
||||||
'Decimal Degree' : 'degree',
|
|
||||||
'Foot (International)' : 'ft',
|
'Foot (International)' : 'ft',
|
||||||
'German legal metre' : 'german_m',
|
'German legal metre' : 'german_m',
|
||||||
'Gold Coast foot' : 'gold_coast_ft',
|
'Gold Coast foot' : 'gold_coast_ft',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user