Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.6.x] Tweaked proj string regex in gis tests

Backport of 4367c63 from master
  • Loading branch information...
commit f942554cf3f5da7efe3e66832fd58b9bdd05f2e5 1 parent e710f6d
Claude Paroz authored July 06, 2013 timgraham committed August 02, 2013
2  django/contrib/gis/tests/test_spatialrefsys.py
@@ -22,7 +22,7 @@
22 22
              'auth_srid' : 32140,
23 23
              'srtext' : 'PROJCS["NAD83 / Texas South Central",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980"',
24 24
              'proj4_re' : r'\+proj=lcc \+lat_1=30.28333333333333 \+lat_2=28.38333333333333 \+lat_0=27.83333333333333 '
25  
-                          r'\+lon_0=-99 \+x_0=600000 \+y_0=4000000 \+ellps=GRS80 '
  25
+                          r'\+lon_0=-99 \+x_0=600000 \+y_0=4000000 (\+ellps=GRS80 )?'
26 26
                           r'(\+datum=NAD83 |\+towgs84=0,0,0,0,0,0,0)?\+units=m \+no_defs ',
27 27
              'spheroid' : 'GRS 1980', 'name' : 'NAD83 / Texas South Central',
28 28
              'geographic' : False, 'projected' : True, 'spatialite' : False,

0 notes on commit f942554

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