[postgis-users] shp2pgsql - can it export data to different field names?

Steffen Macke sdteffen at gmail.com
Tue Aug 16 10:26:10 PDT 2005


Eduardo,

> I'd like to know if "shp2pgsql" tool can take a given shapefile as input and then export its DBF field definitions according to a new structure given by parameters.

I think you should simply create a view with the fields (and field
names) you are
looking for and then use shp2pgsql to export this view.

Regards,

Steffen



More information about the postgis-users mailing list