Preserve z coordinates in geometries