[GRASS-user] i.topo.corr bug in GRASS 7.0.3?

2016-10-18 Thread Stefan Sylla
I have two Lansat 8 scenes from the same path/row and I try to perform topographic correction with i.topo.corr. I have converted all images to reflectance (DOS1) using i.landsat.toar. After that I tried to correct topography using i.topo.corr. It seems to work fine with the 1st scene, but I get s

[GRASS-user] Problem running i.segment.stats

2016-10-18 Thread James Duffy
Hello, I'm using GRASS 7.0.4 on the OSGeoLive pre-built operating system. I have installed the addon 'i.segment.stats' to use with my output from 'i.segment.uspo'. When selecting the 'rasters' input for this tool, I choose the original layers that were used to create the segmented map in the firs

Re: [GRASS-user] Problem running i.segment.stats

2016-10-18 Thread Moritz Lennert
On 18/10/16 14:27, James Duffy wrote: Hello, I'm using GRASS 7.0.4 on the OSGeoLive pre-built operating system. I have installed the addon 'i.segment.stats' to use with my output from 'i.segment.uspo'. When selecting the 'rasters' input for this tool, I choose the original layers that were used

Re: [GRASS-user] Problem running i.segment.stats

2016-10-18 Thread James Duffy
On 18 October 2016 at 16:17, Moritz Lennert wrote: > On 18/10/16 14:27, James Duffy wrote: > >> Hello, >> >> I'm using GRASS 7.0.4 on the OSGeoLive pre-built operating system. I >> have installed the addon 'i.segment.stats' to use with my output from >> 'i.segment.uspo'. >> >> When selecting the

Re: [GRASS-user] Problem running i.segment.stats

2016-10-18 Thread Moritz Lennert
On 18/10/16 17:28, James Duffy wrote: On 18 October 2016 at 16:17, Moritz Lennert mailto:mlenn...@club.worldonline.be>> wrote: On 18/10/16 14:27, James Duffy wrote: Hello, I'm using GRASS 7.0.4 on the OSGeoLive pre-built operating system. I have installed the addon

Re: [GRASS-user] Problem running i.segment.stats

2016-10-18 Thread James Duffy
On 18 October 2016 at 16:37, Moritz Lennert wrote: > On 18/10/16 17:28, James Duffy wrote: > >> On 18 October 2016 at 16:17, Moritz Lennert >> mailto:mlenn...@club.worldonline.be>> >> wrote: >> >> On 18/10/16 14:27, James Duffy wrote: >> >> Hello, >> >> I'm using GRASS 7.0.4 o

Re: [GRASS-user] Problem running i.segment.stats

2016-10-18 Thread Moritz Lennert
On 18/10/16 17:44, James Duffy wrote: On 18 October 2016 at 16:37, Moritz Lennert mailto:mlenn...@club.worldonline.be>> wrote: On 18/10/16 17:28, James Duffy wrote: On 18 October 2016 at 16:17, Moritz Lennert mailto:mlenn...@club.worldonline.be>

[GRASS-user] DBMI-SQLite drive error when running i.segment.stats (with vector map creation)

2016-10-18 Thread James Duffy
Hello, I'm running the following command: i.segment.stats --overwrite --verbose map=angle_seg_uspo_angle_region_1_rank1@angle1 \ rasters=angle_ortho.1@angle1,angle_ortho.2@angle1,angle_ortho.3@angle1 ,angle_ortho.4@angle1 \ raster_statistics=min,max,mean,stddev,sum csvfile=/home/jd/Wales_GRASS/An

Re: [GRASS-user] DBMI-SQLite drive error when running i.segment.stats (with vector map creation)

2016-10-18 Thread Helmut Kudrnovsky
>angle_ortho.1_min double precision I suspect that it is the point in the column name. to verify, try to add such a column name in one of your vectors. - best regards Helmut -- View this message in context: http://osgeo-org.1560.x6.nabble.com/DBMI-SQLite-drive-error-when-running-i-segmen

Re: [GRASS-user] Problem in running r.basin

2016-10-18 Thread Margherita Di Leo
Micha, On Fri, Oct 14, 2016 at 11:14 PM, Micha Silver wrote: > > Hi, > Thanks for your answers, here the command line I run > r.basin map=Ghiandone_DEM@Silvia prefix=out coordinates=368450.0,4954025.0 > dir=Silvia threshold=1000 --overwrite > > > In your command line, is the raster map "Silvia"

[GRASS-user] v.to.rast error in version 7.0.6svn

2016-10-18 Thread alassane toure
Group, While executing v.to.rast the following error came up (not present in earlier 7.0 version) [image: Inline image 3] Your suggestion is appreciated. Thanks Alassane ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailm

Re: [GRASS-user] v.to.rast error in version 7.0.6svn

2016-10-18 Thread Anna Petrášová
On Tue, Oct 18, 2016 at 9:31 PM, alassane toure wrote: > Group, > While executing v.to.rast the following error came up (not present in > earlier 7.0 version) > Your suggestion is appreciated. > Check your database connection for the input vector, it says: "Database connection not defined for l

Re: [GRASS-user] v.to.rast error in version 7.0.6svn

2016-10-18 Thread alassane toure
Anna, is that the command needed to make the connection? ... db.connect driver=sqlite database='$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db' db.tables -p v.db.connect map=vectormap table=table driver=sqlite \ database='$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db' v.db.conn

Re: [GRASS-user] v.to.rast error in version 7.0.6svn

2016-10-18 Thread Anna Petrášová
On Tue, Oct 18, 2016 at 11:21 PM, alassane toure wrote: > Anna, > is that the command needed to make the connection? ... No, it just shows you the current connection, I was just trying to analyze the problem. > > db.connect driver=sqlite > database='$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlit

Re: [GRASS-user] v.to.rast error in version 7.0.6svn

2016-10-18 Thread alassane toure
Anna, I run the command you suggested and there is indeed a connection problem. How do i fix it? Here are the commands i run in a grass/python script: criteria="(value=255) and (area_sf>"+sys.argv[5]+")" grass.run_command('v.extract', input='imperv', output='impervh_clean',type='area',where=crite

Re: [GRASS-user] v.to.rast error in version 7.0.6svn

2016-10-18 Thread Anna Petrášová
On Tue, Oct 18, 2016 at 11:56 PM, alassane toure wrote: > Anna, > I run the command you suggested and there is indeed a connection problem. > How do i fix it? Here are the commands i run in a grass/python script: > > criteria="(value=255) and (area_sf>"+sys.argv[5]+")" > grass.run_command('v.extr

Re: [GRASS-user] v.to.rast error in version 7.0.6svn

2016-10-18 Thread alassane toure
correct. there was no feature in "impervh_clean" ! On Wed, Oct 19, 2016 at 12:01 AM, Anna Petrášová wrote: > On Tue, Oct 18, 2016 at 11:56 PM, alassane toure > wrote: > > Anna, > > I run the command you suggested and there is indeed a connection problem. > > How do i fix it? Here are the comm