[GRASS5] Jpeg2000

Hamish hamish_nospam at yahoo.com
Wed Sep 28 20:09:31 EDT 2005


> This may have been asked, but I don¹t remember seeing it ... I am
> doing a little research on jpeg2000 format and don¹t know enough about
> it with regards to grass.  
> 
> Background :
> I¹m using Mac OS X 10.3.9
> I¹m currently still using Grass 5.7
> 
> I have a few questions :
> 
> 1] It is supported in Grass 6.o only?
> 2] What call do I use to create a Jp2 file and can I get a world file
> from it? 

The GDAL libraries handle all of that, so it should be somewhat
independent of what version GRASS you are using.

Yes GDAL supports JPEG2000, but you will have to check that the driver
you need has been activated. Try running this command to see if you have
JPEG2000 support in your copy of GDAL:

gdalinfo --formats | grep 2000
gdalinfo <filename>


If you are using Lorenzo Moretti's Mac binaries, JPEG2000 should be
supported. If you aren't, I highly recommend them.
   http://wwwamb.bologna.enea.it/forgrass/


For more info on JPEG2000+GDAL see http://www.gdal.org/formats_list.html

I think there are several compression flavours to be aware of.



Hamish




More information about the grass-dev mailing list