On Wed, Mar 31, 2010 at 1:21 AM, Giovanni Manghi
<giovanni.man...@gmail.com> wrote:
> Hi all,
> I'm trying to export a polygon from GRASS to postgis and the command I'm
> using is like this
>
>
> v.out.ogr -c input=poly...@mapset type=area dsn=PG:host=localhost
> dbname=postgis user=users password=users format=PostgreSQL
>
>
> but I always get
>
>
> ERROR 1: AddGeometryColumn failed for layer
> poly...@mapset, layer creation has failed.
> ERROR: Unable to create OGR layer
>
>
> The database is spatially enabled and the user has the right permissions
> to write in it.

Does export to SHP file work (v.out.ogr) and upload to PostGIS
(shp2pgsql)? Really all permissions ok?

Markus
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to