[GRASS-dev] [GRASS-user] v.rast.stats ERROR

Moritz Lennert mlennert at club.worldonline.be
Fri Oct 21 00:34:03 PDT 2016


On 20/10/16 22:11, Markus Neteler wrote:
> (moved to GRASS-dev)
>
> Topic: v.rast.stats error message
>
> On Fri, Oct 14, 2016 at 8:35 PM, Helmut Kudrnovsky <hellik at web.de> wrote:
>>> ERROR: Unable to add column <1_average DOUBLE PRECISION>.
>>> ERROR: Adding columns failed. Exiting.
>>
>> AFAIR in SQL column names starting with a number isn't allowed.
>
> Is there any Python wrapper around Vect_legal_filename() which could
> be used here to generate a better error message?

Even though a Python wrapper for Vect_legal_filename would be useful, it 
wouldn't help here as the problem is the attribute column name, not the 
filename.

Moritz


More information about the grass-dev mailing list