Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 06f2ddeb51517c6754ccd5a69d00f5b29cd899c3 1 parent 00292ad
@jbronn jbronn authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  django/contrib/gis/measure.py
View
2  django/contrib/gis/measure.py
@@ -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',

0 comments on commit 06f2dde

Please sign in to comment.
Something went wrong with that request. Please try again.