Buen día a todos, estoy intentando indicarle a la tabla geometry_columns que la 
tabla total_estados contiene un campo geometrico pero al ejecutar la consulta 
me da un error, si alguién me puede echar una mano muy agradecido, saludos...

SQL: SELECT 
AddGeometryColumn('','total_estados','the_geom','4326','MULTIPOLYGON',2);

Error que indica:


ERROR:  column "the_geom" of relation "total_estados" already exists
CONTEXT:  SQL statement "ALTER TABLE public.total_estados ADD COLUMN the_geom 
geometry "
PL/pgSQL function "addgeometrycolumn" line 94 at EXECUTE statement
SQL statement "SELECT AddGeometryColumn('', $1 , $2 , $3 , $4 , $5 , $6 )"
PL/pgSQL function "addgeometrycolumn" line 4 at SQL statement

Mauricio Márquez




      
_______________________________________________
Spanish mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/spanish

Responder a