[Spanish] Una consulta tonta de PostGIS...

Luis Franco Vázquez luis.frvz at gmail.com
Mon May 3 12:25:10 EDT 2010


Parece que el servidor indica que ya tiene registrada esa tabla como una
geometría. ¿Lo que quieres hacer es decirle que es un multipolígono en vez
de tipo geometry?

El 3 de mayo de 2010 17:44, Mauricio Marquez
<mauriciomarquezgoa en yahoo.com>escribió:

> 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
> Spanish en lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/spanish
>
>


-- 
Luis Franco Vázquez
Universidad de Santiago de Compostela
Escuela Politécnica Superior
Campus Universitario S/N
email: luis.franco en usc.es
Tfno: 982285900 ext 23247
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://lists.osgeo.org/pipermail/spanish/attachments/20100503/1eabf318/attachment.html


More information about the Spanish mailing list