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 <[email protected]> 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
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to