PostGIS compatibility for shape file read