Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Justin Bronn authored January 28, 2008

Showing 1 changed file with 0 additions and 2 deletions. Show diff stats Hide diff stats

  1. 2  django/contrib/gis/measure.py
2  django/contrib/gis/measure.py
@@ -48,7 +48,6 @@ class Distance(object):
48 48
         'cm' : 0.01,
49 49
         'british_ft' : 0.304799471539,
50 50
         'british_yd' : 0.914398414616,
51  
-        'degree' : 0.0174532925199,
52 51
         'clarke_ft' : 0.3047972654,
53 52
         'clarke_link' : 0.201166195164,
54 53
         'fathom' :  1.8288,
@@ -99,7 +98,6 @@ class Distance(object):
99 98
         "Clarke's link" : 'clarke_link',
100 99
         'Chain (Benoit)' : 'chain_benoit',
101 100
         'Chain (Sears)' : 'chain_sears',
102  
-        'Decimal Degree' : 'degree',
103 101
         'Foot (International)' : 'ft',
104 102
         'German legal metre' : 'german_m',
105 103
         'Gold Coast foot' : 'gold_coast_ft',

0 notes on commit 06f2dde

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