Changeset 7127
- Timestamp:
- 02/17/08 21:03:25 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/gis/django/contrib/gis/gdal/geometries.py
r7113 r7127 63 63 hex_regex = re.compile(r'^[0-9A-F]+$', re.I) 64 64 wkt_regex = re.compile(r'^(?P<type>POINT|LINESTRING|LINEARRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)[ACEGIMLONPSRUTY\d,\.\-\(\) ]+$', re.I) 65 json_regex = re.compile(r'^\{ .+\}$')65 json_regex = re.compile(r'^\{[\s\w,\.\"\'\:\[\]]+\}$') 66 66 67 67 #### OGRGeometry Class #### django/branches/gis/django/contrib/gis/gdal/libgdal.py
r7107 r7127 51 51 52 52 # Returns GDAL library version information with the given key. 53 _version_info = lgdal.GDALVersionInfo53 _version_info = std_call('GDALVersionInfo') 54 54 _version_info.argtypes = [c_char_p] 55 55 _version_info.restype = c_char_p
