Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #19678 -- GeoDjango test failure with spatialite >= 3.0.

Thanks Julien for the report and Claude for the fix.
  • Loading branch information...
commit 9a73e7f40c851cef262dd36da444c81492632ee5 1 parent 482ca0c
Ramiro Morales authored December 06, 2013
2  django/contrib/gis/tests/test_spatialrefsys.py
@@ -12,7 +12,7 @@
12 12
              # Only the beginning, because there are differences depending on installed libs
13 13
              'srtext': 'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84"',
14 14
              # +ellps=WGS84 has been removed in the 4326 proj string in proj-4.8
15  
-             'proj4_re': r'\+proj=longlat (\+ellps=WGS84 )?\+datum=WGS84 \+no_defs ',
  15
+             'proj4_re': r'\+proj=longlat (\+ellps=WGS84 )?(\+datum=WGS84 |\+towgs84=0,0,0,0,0,0,0 )\+no_defs ',
16 16
              'spheroid': 'WGS 84', 'name': 'WGS 84',
17 17
              'geographic': True, 'projected': False, 'spatialite': True,
18 18
              'ellipsoid': (6378137.0, 6356752.3, 298.257223563),  # From proj's "cs2cs -le" and Wikipedia (semi-minor only)

0 notes on commit 9a73e7f

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