Opened 8 years ago
Closed 7 years ago
#28392 closed Bug (fixed)
GIS's WKT regex doesn't match large scientific notation
Description ¶
Large numbers using scientific notation do not get matched by the regex in django/django/contrib/gis/geometry/regex.py.
For example loading a database with the entry "SRID=4326;POINT (0.0 1.0e+10)" gives the following error:
ValueError: Problem installing fixture './temp.json': String or unicode input unrecognized as WKT EWKT, and HEXEWKB.
Change History (3)
comment:1 by , 8 years ago
Easy pickings: | unset |
---|---|
Needs tests: | set |
Summary: | Regex does not match large scientific notation → GIS's WKT regex doesn't match large scientific notation |
Triage Stage: | Unreviewed → Accepted |
Note:
See TracTickets
for help on using tickets.
PR