Re: [GRASS-dev] v.rast.stats fails with column_prefix='t'

2015-11-20 Thread Anna Petrášová
On Fri, Nov 20, 2015 at 4:17 AM, Nikos Alexandris wrote: > * Anna Petrášová [2015-11-20 00:10:19 -0500]: > > > On Thu, Nov 19, 2015 at 2:53 PM, Nikos Alexandris < > n...@nikosalexandris.net> > > wrote: > > > > > Nikos: > > > > > > > > The command > > > > > v.rast.stats map=SomeVector raster=Some

Re: [GRASS-dev] v.rast.stats fails with column_prefix='t'

2015-11-20 Thread Nikos Alexandris
* Anna Petrášová [2015-11-20 00:10:19 -0500]: > On Thu, Nov 19, 2015 at 2:53 PM, Nikos Alexandris > wrote: > > > Nikos: > > > > > > The command > > > > v.rast.stats map=SomeVector raster=SomeRaster column='t' > > > > fails. Perhaps the line > > > > Anna: > > > > > How exactly does it fail? > >

Re: [GRASS-dev] v.rast.stats fails with column_prefix='t'

2015-11-19 Thread Anna Petrášová
On Thu, Nov 19, 2015 at 2:53 PM, Nikos Alexandris wrote: > Nikos: > > > > The command > > > v.rast.stats map=SomeVector raster=SomeRaster column='t' > > > fails. Perhaps the line > > Anna: > > > How exactly does it fail? > > --%<--- > v.info -c Test > INTEGER|cat > INTEGER|Id > CHARACTER|Name > >

Re: [GRASS-dev] v.rast.stats fails with column_prefix='t'

2015-11-19 Thread Nikos Alexandris
Nikos: > >> > The command > >> > v.rast.stats map=SomeVector raster=SomeRaster column='t' > >> > fails. Perhaps the line Anna: > >> How exactly does it fail? Nikos: > > --%<--- > > v.info -c Test > > INTEGER|cat > > INTEGER|Id > > CHARACTER|Name > > > > v.rast.stats map=Test raster=LT519602820

Re: [GRASS-dev] v.rast.stats fails with column_prefix='t'

2015-11-19 Thread Markus Neteler
On Thu, Nov 19, 2015 at 8:53 PM, Nikos Alexandris wrote: > Nikos: > >> > The command >> > v.rast.stats map=SomeVector raster=SomeRaster column='t' >> > fails. Perhaps the line > > Anna: > >> How exactly does it fail? > > --%<--- > v.info -c Test > INTEGER|cat > INTEGER|Id > CHARACTER|Name > > v.ra

Re: [GRASS-dev] v.rast.stats fails with column_prefix='t'

2015-11-19 Thread Nikos Alexandris
Nikos: > > The command > > v.rast.stats map=SomeVector raster=SomeRaster column='t' > > fails. Perhaps the line Anna: > How exactly does it fail? --%<--- v.info -c Test INTEGER|cat INTEGER|Id CHARACTER|Name v.rast.stats map=Test raster=LT51960282005221KIS00_B1 column='t' Traceback (most recent

Re: [GRASS-dev] v.rast.stats fails with column_prefix='t'

2015-11-19 Thread Anna Petrášová
On Thu, Nov 19, 2015 at 1:28 PM, Nikos Alexandris wrote: > The command > > v.rast.stats map=SomeVector raster=SomeRaster column='t' > > fails. Perhaps the line > How exactly does it fail? > > < > https://trac.osgeo.org/grass/browser/grass/trunk/scripts/v.rast.stats/v.rast.stats.py#L265 > > > >

[GRASS-dev] v.rast.stats fails with column_prefix='t'

2015-11-19 Thread Nikos Alexandris
The command v.rast.stats map=SomeVector raster=SomeRaster column='t' fails. Perhaps the line was simply meant to be something like: for colname in colnames: variable = colprefix + '_' + colname