[GRASS-dev] v.rast.stats fails with column_prefix='t'
nik at nikosalexandris.net
Thu Nov 19 16:33:28 PST 2015
> >> > The command
> >> > v.rast.stats map=SomeVector raster=SomeRaster column='t'
> >> > fails. Perhaps the line
> >> 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 call last):
> > File "/osgeo/grass70/dist.x86_64-unknown-linux-gnu/scripts/v.rast.stats", line 306, in <module>
> > main()
> > File "/osgeo/grass70/dist.x86_64-unknown-linux-gnu/scripts/v.rast.stats", line 268, in main
> > i = variables[variable]
> > KeyError: 'firsquartile'
> --> typo, should be firs*t*quartile I suppose.
> But in my svn copy I don't find that.
> Do you have local modifications?
> In the code I see "first_quartile" with underscore.
I did not find it either! It's not a typo. It is the result of .replace
(I did some examples).
More information about the grass-dev