force 2D geometries (probably solving PostGIS performance issue)