[GRASS5] Jpeg2000

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?

Thanks,
sharyn

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

On Sep 28, 2005, at 6:09 PM, Hamish wrote:

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/

I am curious why you might recommend Lorenzo's binaries over OpenOSX's free stand-alone GRASS application?

OpenOSX's application has the following advantages over Lorenzo's binaries: OpenOSX Grass is a complete stand-alone application requiring zero installation, it has built-in Mac OS X 10.4 support (no update required), and is based on GRASS 6.0.1 versus Lorenzos which is based on GRASS 6.0.0...

The OpenOSX Grass application also supports JPEG2000, and OpenOSX was the first to package Grass for Mac OS X and has been making free GRASS binaries available for almost 5 years now.

OpenOSX Grass is available as a free download from: <http://OpenOSX.com/grass&gt;

Cheers,

Jeshua Lacock ___________________________
Programmer/Owner Phone: 877.240.1364
http://OpenOSX.com Fax: 415.462.6211
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

Hi Jeshua,

> 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/

I am curious why you might recommend Lorenzo's binaries over OpenOSX's
free stand-alone GRASS application?

It certainly wan't my meaning to recommend one OSX binary over another;
if I recall correctly the poster mentioned they were using 5.7.0 which
is fairly out of date now. This is why I suggested an upgrade, and I
knew that Lorenzo's GDAL had Jpeg2000 built in and is a nice package.
I didn't know off hand if OpenOSX's version supported Jpeg2000 or not.
Thanks for letting us know it does as I'm all in favour of a diversity
of options for users. Hope that clarifies things.

regards,
Hamish