jdeolive / geodb

Spatial database bindings for Java.
MIT License
67 stars 25 forks source link

Preserve z coordinates in geometries #16

Closed srstsavage closed 10 years ago

srstsavage commented 10 years ago

Hi Justin, here's very simple patch with very simple test case to preserve the z coordinate when writing geometries to WKB. All the tests pass with these changes. Not sure if z coordinates were intentionally disabled, but if not could you consider merging this?

jdeolive commented 10 years ago

Thanks Shane! I don;t see an issue enabling this by default. If it does become a problem for whatever reason we can perhaps explore using the postgis convention of using functions that are suffixed with "3D".