added option to import to postgis as single geometries