Re: [GRASS-user] Problem with v.out.ogr?

2012-05-01 Thread Asher Hoskins
On 30/04/12 15:56, Markus Metz wrote: If this happens with GRASS 6.x, I think the expected output can be obtained by adding the -c flag: Export features with category (labeled) only. Otherwise all features are exported v.out.ogr type=line input=esw_g26a format=KML dsn=main.kml layer=7 -c

Re: [GRASS-user] Problem with v.out.ogr?

2012-04-30 Thread Moritz Lennert
On 28/04/12 10:35, Micha Silver wrote: On 28/04/2012 00:54, Asher Hoskins wrote: Hello. I've got a map with multiple layers that was originally created from a DXF file (via v.in.dxf). I want to output a single layer as a KML file so that it can be loaded into Google Earth (for a non-Grass

Re: [GRASS-user] Problem with v.out.ogr?

2012-04-30 Thread Markus Metz
If this happens with GRASS 6.x, I think the expected output can be obtained by adding the -c flag: Export features with category (labeled) only. Otherwise all features are exported v.out.ogr type=line input=esw_g26a format=KML dsn=main.kml layer=7 -c The meaning of the -c flag has been reverted

Re: [GRASS-user] Problem with v.out.ogr?

2012-04-28 Thread Micha Silver
On 28/04/2012 00:54, Asher Hoskins wrote: Hello. I've got a map with multiple layers that was originally created from a DXF file (via v.in.dxf). I want to output a single layer as a KML file so that it can be loaded into Google Earth (for

[GRASS-user] Problem with v.out.ogr?

2012-04-27 Thread Asher Hoskins
Hello. I've got a map with multiple layers that was originally created from a DXF file (via v.in.dxf). I want to output a single layer as a KML file so that it can be loaded into Google Earth (for a non-Grass user) but when I do: v.out.ogr type=line input=esw_g26a format=KML dsn=main.kml

Re: [GRASS-user] problem with v.out.ogr pgsql

2010-03-31 Thread Markus Neteler
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

Re: [GRASS-user] problem with v.out.ogr pgsql

2010-03-31 Thread Achim Kisseler
Sometimes GUI output is not like commandline commands have to be. Maybe its just the missing . ? v.out.ogr -c input=poly...@mapset type=area dsn=PG:host=localhost dbname=postgis user=users password=users format=PostgreSQL v.out.ogr -c input=poly...@mapset type=area

Re: [GRASS-user] problem with v.out.ogr pgsql

2010-03-31 Thread Giovanni Manghi
Hi Markus, thanks for the reply Does export to SHP file work (v.out.ogr) and upload to PostGIS (shp2pgsql)? Really all permissions ok? it seems all ok. v.out.ogr works for shapes, and I can upload to postgis with the same user to the same database with shp2pgsql or with other clients that

Re: [GRASS-user] problem with v.out.ogr pgsql

2010-03-31 Thread Micha Silver
On 03/31/2010 09:31 AM, Markus Neteler wrote: 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

Re: [GRASS-user] problem with v.out.ogr pgsql

2010-03-31 Thread Giovanni Manghi
Hi, In particular, check permissions on the geometry_columns table. In psql type: \dp geometry_columns; it is ok, it has been given a GRANT ALL cheers -- Giovanni -- ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] problem with v.out.ogr pgsql

2010-03-31 Thread Giovanni Manghi
Hi, I tested from the command line with the , and from the wx gui (that apparently does not add the ) and the result is the same. Cheers -- Giovanni -- On Wed, 2010-03-31 at 09:19 +0200, Achim Kisseler wrote: Sometimes GUI output is not like commandline commands have to be. Maybe its

[GRASS-user] problem with v.out.ogr pgsql

2010-03-30 Thread Giovanni Manghi
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