-
Type: Task
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.9.1
-
Component/s: Codecs
-
Labels:None
When decoding a Geometry, I end up having this structure from Mongo Geometry codecs:
"geometry": { "coordinates": [ { "values": [ -4.7953494, 37.9414098 ] }, { "values": [ -4.7954192, 37.9415325 ] }, { "values": [ -4.7956498, 37.9416594 ] }, { "values": [ -4.7958376, 37.9418286 ] }, { "values": [ -4.7960897, 37.9419851 ] }, { "values": [ -4.7963418, 37.9421586 ] }, { "values": [ -4.7966208, 37.9422136 ] }, { "values": [ -4.7970285, 37.9422982 ] }, { "values": [ -4.7973343, 37.9423701 ] }, { "values": [ -4.7975381, 37.9424886 ] }, { "values": [ -4.7976929, 37.9425605 ] }, { "values": [ -4.7980102, 37.9424463 ] } ], "type": "LINE_STRING" }
When I more expecting this:
"geometry": { "coordinates": [ [ -4.7953494, 37.9414098 ] , [ -4.7954192, 37.9415325 ] , [ -4.7956498, 37.9416594 ] , [ -4.7958376, 37.9418286 ] , [ -4.7960897, 37.9419851 ] , [ -4.7963418, 37.9421586 ] ], "type": "LINE_STRING" }
Following the RFC: