[GRASS-dev] [grass-code P][372] scritps for converting raster maps into GRASS 7 format, and back

Paolo Cavallini cavallini at faunalia.it
Wed Apr 18 08:33:11 EDT 2007

Hash: SHA1

I agree (for what is worth): changing format is reasonable only to
substantially improve things, not for minor cosmetics.
Ideally, switching to a more standard format (eg geoTIFF, or anything
read through gdal) would be good.
Has the grass7 format already been agreed upon?
All the best.

Paul Kelly ha scritto:
> Hello Hamish
> Could it be written in C so it is more cross-platform? There is a new
> function G_copy_file() in CVS that can copy files on disk. There is also
> the C rename() function.
> The script could still be available to work with older versions of GRASS.
> Although I still don't think I like the idea of changing the internal
> raster format as I expect it will break lots of 3rd-party software that
> reads GRASS raster files directly, and could make GRASS look bad for
> changing things. E.g. thinking of the detailed discussion of the raster
> format a year or two ago for JavaGrass which reads it directly I think.
> Also even GDAL must be passed the path to the cellhd directory to read a
> GRASS raster I think? Also might it not be worth taking the opportunity
> to modernise the raster format further than just re-arranging the files,
> and perhaps providing some kind of LGPL library for developers of
> 3rd-party software to use to read GRASS rasters (actually that already
> exists I think - isn't it what GDAL uses?
> http://freegis.org/cgi-bin/viewcvs.cgi/libgrass/ but don't think its
> used much.)
> Sorry, just a few thoughts I've had for a while; wanted to get them out
> on the list.
> Paul
- --
Paolo Cavallini
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the grass-dev mailing list