Hi,

2012/3/21 Glynn Clements <[email protected]>:
> Why does this matter?

some files use upper-case for keys

cat ~/grassdata/nc_spm_08/pg/VAR
DB_DRIVER: sqlite
DB_DATABASE: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite.db

some lower-case

cat ~/grassdata/nc_spm_08/pg/GDAL
directory: /home/martin/smetiste/
format: GTiff

it would be probably better to consolidate naming convention to
upper-case. Then e.g. `r.external.out` would write GDAL file with
upper-case keys, in this case

DIRECTORY: /home/martin/smetiste/
FORMAT: GTiff

Case insensitive G_find_key_value() would enable eg. to read GDAL
files created before this change (lower -> upper).

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to