[GRASS-dev] GRASS 7: v.in.ogr and v.out.ogr issues to be resolved

Martin Landa landa.martin at gmail.com
Sun May 5 06:06:40 PDT 2013


2013/5/5 Markus Neteler <neteler at osgeo.org>:
> Hi,
> I came across two issues which I thought to bring up here before
> modifying code myself:
> GRASS 7.0.svn (utm32n):/tmp > v.in.ogr 47_part.shp out=47_part snap=1e-08 --o -o
> Over-riding projection check
> Counting polygons for 55 features (OGR layer <47_part>)...
>  100%
> WARNING: Illegal vector map name <47_part>. Must start with a letter.
> WARNING: Unable to create vector map <47_part>: name is not SQL compliant
> ---> since we cannot go on, shouldn't it be a fatal error?

right, since the most of modules do not check Vect_open_new() return
code, I changed that on library level (r56132). It's partly related to
[1]. The main reason to introduce G__error() was different handling
errors in the modules and the GUI components which use ctypes.


[1] http://osgeo-org.1560.x6.nabble.com/libgis-G-FATAL-EXIT-PRINT-RETURN-td5044994.html

More information about the grass-dev mailing list