Skip to content

Commit

Permalink
gis: Fixed #6440. Removed degree conversion from Distance -- should…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
jbronn committed Jan 28, 2008
1 parent 00292ad commit 06f2dde
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions django/contrib/gis/measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 06f2dde

Please sign in to comment.