[Spanish] Una consulta tonta de PostGIS...

Mauricio Marquez mauriciomarquezgoa at yahoo.com
Mon May 3 11:44:47 EDT 2010


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




      
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://lists.osgeo.org/pipermail/spanish/attachments/20100503/337811b7/attachment.html


More information about the Spanish mailing list