Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.7-beta1
-
Fix Version/s: 2.7-RC2
-
Component/s: unsupported
-
Labels:None
Description
The attached patch contains two little improvements to the geojson module:
- handling feature with multiple geometries
- handling of objects that are not strings nor numbers, dates or booleans
For the first case, the patch makes it so that the other geometries are encoded as properties with the same encoding style as the main geometry.
For the second case, it makes it possible to encode valid json out of a random object by using converters. The old code would have treated the object as a literal and not enclose it in double quotes, resulting in invalid json (the only things not quoted are numbers and booleans)
Activity
Andrea Aime
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Andrea Aime [ aaime ] | Justin Deoliveira [ jdeolive ] |
Justin Deoliveira
made changes -
| Fix Version/s | 2.7.0 [ 17109 ] | |
| Fix Version/s | 2.7-RC1 [ 17076 ] |
Andrea Aime
made changes -
| Attachment | GEOT-3400.patch [ 53446 ] |
Andrea Aime
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Andrea Aime
made changes -
| Fix Version/s | 2.7-RC2 [ 17174 ] | |
| Fix Version/s | 2.7.0 [ 17109 ] |
Andrea Aime
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Jody Garnett
made changes -
| Component/s | unsupported [ 14729 ] | |
| Component/s | new modules [ 10644 ] |