Hi, 2013/5/5 Markus Neteler <nete...@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. Martin [1] http://osgeo-org.1560.x6.nabble.com/libgis-G-FATAL-EXIT-PRINT-RETURN-td5044994.html _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev