Opened 17 years ago
Closed 17 years ago
#7540 closed (fixed)
Minus signs cause OGRGeometry JSON parsing to fail
Reported by: | Owned by: | jbronn | |
---|---|---|---|
Component: | GIS | Version: | gis |
Severity: | Keywords: | gis ogr geojson | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | yes | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The regex for recognizing a GeoJSON string doesn't accept minus signs, so when you create a new OGRGeometry with some GeoJSON that contains negative values, it throws an OGRException.
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | minus4json.diff added |
---|
comment:1 by , 17 years ago
Keywords: | gis ogr geojson added |
---|---|
Needs tests: | set |
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Tiny fix to JSON-recognizing regex