[GRASS-user] Help with defining DB Drivers for input and outputs

2015-02-11 Thread Mark Wynter
Within the same mapset, is it possible to specify SQLITE as the database for the output layer, whilst using a map as an input that has a PG driver? I’ve read the manual and tried a few approaches, but I found the outputs still get written to PG. May be I’ve missed a critical step? See

Re: [GRASS-user] Help with defining DB Drivers for input and outputs

2015-02-11 Thread Moritz Lennert
On 12/02/15 00:12, Mark Wynter wrote: Within the same mapset, is it possible to specify SQLITE as the database for the output layer, whilst using a map as an input that has a PG driver? I’ve read the manual and tried a few approaches, but I found the outputs still get written to PG. May be

[GRASS-user] SQLite Error

2015-02-11 Thread Mark Wynter
Thanks Moritz. I am getting an SQLite error when trying to run v.net.allpairs. This is my latest workflow, incl. my checks and output messages of each step. #(1) CREATE A COPY OF MY ROAD NETWORK, AND DROP THE ATTRIBUTE TABLE (CURRENTLY SET WITH PG DRIVER) db.connect driver=pg

[GRASS-user] v.out.postgis and v.out.ogr - inconsistencies in output

2015-02-11 Thread Mark Wynter
As context, I’m running analysis using v.net.allpairs, whereby vector geometries are often common to more than 1 origin-destination journey path, hence the line segments appear multiple times but with unique cat values, and from_cat and to_cat combinations. When exporting the output layer of

Re: [GRASS-user] New error at startup

2015-02-11 Thread Jens Hegg
I was making progress with the r.stream.basins issue until I went to edit my vector pour-points layer to move them over the highest flow accumulation. At this point I got an error (that I didn't capture) that crashed the GUI, something about being unable to find the extents of either the layer

[GRASS-user] new addon: v.ellipse

2015-02-11 Thread Martin Landa
Dear GRASS users, I would like to announce a new addon module v.ellipse [1] to compute the best-fitting ellipse for given vector data. The module has been written by Tereza Fiedlerova (cc'ed) at the CTU in Prague. Enjoy! Regards, Martin [1]

Re: [GRASS-user] GRASS pygrass - composite

2015-02-11 Thread Pietro
Dear Pierric, On Wed, Feb 11, 2015 at 10:02 AM, Pierric de Laborie pierric.delabo...@gmail.com wrote: I don't understand why Grass seems to get stuck on the following Python command : r.composite(red=B4,green=B3,blue=B2,output=mycomposite,quiet=QUIET,overwrite=OVR) Have you tried to run the

[GRASS-user] GRASS pygrass - composite

2015-02-11 Thread Pierric de Laborie
Hello, I am using Grass 7.0 through Python and Pygrass (from outside Grass without starting it) on Linux (Debian GNU/Linux 7.6 (wheezy)) . I don't understand why Grass seems to get stuck on the following Python command :

Re: [GRASS-user] GRASS pygrass - composite

2015-02-11 Thread Pierric de Laborie
I have just tried to start the same command from the GRASS shell (same machine and same GRASS database and location) and it gets stuck also. GRASS 7.0.0svn (222):~/Grass_test r.composite red=B5@PERMANENT green=B4@PERMANENT blue=B3@PERMANENT output=mycompo Creating color table for output raster

[GRASS-user] percentage of class in raster within polygons

2015-02-11 Thread Margherita Di Leo
Hi, I have to calculate the percentage of given class of a raster within the polygons given in a vector (a regular grid). Since I'm dealing with large files and operations repeated in a chain, i should be focusing on what is the optimal (fastest) option to do that. I could vectorize the raster