#216 closed defect (fixed)
WKBWriter does not write 3D values correctly
Reported by: | jbronn | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 3.1.0 |
Component: | Core | Version: | main |
Severity: | Critical | Keywords: | wkbwriter 3d z |
Cc: |
Description
I've been having much difficulty with the WKBWriter
class as I could not get it to produce correct 3D WKB/HEX values. Turns out that WKBWriter::writeCoordinate
always outputs the X value in place of the Z coordinate.
Attached is a patch and a C API demonstration of the problem.
Attachments (2)
Change History (5)
by , 15 years ago
Attachment: | wkbwriter_3d_fix.diff added |
---|
by , 15 years ago
Attachment: | z_problems.c added |
---|
comment:3 by , 15 years ago
Milestone: | → 3.1.0 |
---|
Note:
See TracTickets
for help on using tickets.
C API demonstration of X coordinates being serialized in place of Z