Reemplazar shp2pgsql por ogr2ogr
daf111 opened this issue · comments
Daniel Alejandro Fernandez commented
El programa shp2pgsql convierte los atributos INT(8) de los shapefiles a DOUBLE de Postgres, El programa ogr2ogr tal vez corrija ese problema y respete el tipo de dato correcto.
Gonzalo Gabriel Perez commented
Podés intentar agregando el parámetro "i". La documentación de shp2pgsql dice:
Use int4 type for all integer dbf fields.