ign-argentina / importador_bd_publicacion

importa shp a postgresql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reemplazar shp2pgsql por ogr2ogr

daf111 opened this issue · comments

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.

Podés intentar agregando el parámetro "i". La documentación de shp2pgsql dice:

Use int4 type for all integer dbf fields.