#6935 closed defect (fixed)
ExportToJSON Failing on LinestringZM Types
Reported by: | Darkmatter | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 2.2.1 |
Component: | OGR_SF | Version: | 2.1.2 |
Severity: | normal | Keywords: | |
Cc: |
Description
This is all using the python bindings
OGR's GetGeomType() shows me 3002 --> ogr.wkbLineStringZM so that looks fine
When I load it in GIS I see the type is set to Line (WKB type: "LineStringZM")
feat.ExportToJson() that shows me "type": "unknown" with no geometry points
Our whole investigation is here:
https://github.com/SouthForkResearch/CHaMP_Metrics/issues/61
We got around the issue by exporting to WKB and then back to JSON. This fits our very narrow use case.
Attachments (1)
Change History (4)
by , 7 years ago
Attachment: | Breaklines.zip added |
---|
comment:3 by , 7 years ago
Milestone: | → 2.2.1 |
---|
Note:
See TracTickets
for help on using tickets.
ShapeFile