Django

Code

Ticket #7540 (closed: fixed)

Opened 2 months ago

Last modified 2 months ago

Minus signs cause OGRGeometry JSON parsing to fail

Reported by: kenichi.ueda@gmail.com Assigned to: jbronn
Milestone: Component: GIS
Version: gis Keywords: gis ogr geojson
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 1 Patch needs improvement: 0

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

minus4json.diff (0.7 kB) - added by kenichi.ueda@gmail.com on 06/25/08 14:16:38.
Tiny fix to JSON-recognizing regex

Change History

06/25/08 14:16:38 changed by kenichi.ueda@gmail.com

  • attachment minus4json.diff added.

Tiny fix to JSON-recognizing regex

06/25/08 19:52:30 changed by jbronn

  • status changed from new to assigned.
  • needs_better_patch changed.
  • needs_tests set to 1.
  • owner changed from nobody to jbronn.
  • keywords set to gis ogr geojson.
  • needs_docs changed.

06/26/08 09:31:04 changed by jbronn

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [7767]) gis: Fixed #7540 -- fixed the GeoJSON regex to accept minus signs. Thanks, Kenichi Ueda.


Add/Change #7540 (Minus signs cause OGRGeometry JSON parsing to fail)




Change Properties
Action