[gdal-dev] JPEG2000 question/issue

2008-10-27 Thread Christiaan Janssen
I'm wondering if someone can help me with this. I'm trying to build GDAL with 
both support for MrSID and ECW while using the former for JPEG2000 support. It 
appears that as soon as libecw is linked in, it is being used as the JPEG2000 
reader (even when I have MRSID_FLAGS = -DMRSID_J2K uncommented in the make 
options). I'm assuming this probably has something to do with the order that 
the drivers are tried at runtime. Is there a correct way to force the support 
to default to the MrSID library? Thanks for the help.

Christiaan___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] JPEG2000 question/issue

2008-10-27 Thread Frank Warmerdam

Christiaan Janssen wrote:
I'm wondering if someone can help me with this. I'm trying to build GDAL 
with both support for MrSID and ECW while using the former for JPEG2000 
support. It appears that as soon as libecw is linked in, it is being 
used as the JPEG2000 reader (even when I have MRSID_FLAGS = -DMRSID_J2K 
uncommented in the make options). I'm assuming this probably has 
something to do with the order that the drivers are tried at runtime. Is 
there a correct way to force the support to default to the MrSID 
library? Thanks for the help.


Christiaan,

Disabling the -DMRSID_J2K should disable the JP2MRSID driver though you
may need to do a clean build for the change in the nmake.opt to take
effect.

Alternatively you can force a particular driver to be ignored at runtime
using the GDAL_SKIP configuration variable.  Set it to the driver name you
want to ignore ... such as JP2MRSID.

It can be set in the environment, before running GDAL commands.

set GDAL_SKIP=JP2MRSID

Best regards,
--
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


RE: [gdal-dev] JPEG2000 question/issue

2008-10-27 Thread Christiaan Janssen
Actually, I want the MrSID library to handle JPG2000 instead of the ECW 
library, while still maintaining support for standard ECW files. I think what 
your describing would be the opposite.

Christiaan

-Original Message-
From: Frank Warmerdam [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 11:24 AM
To: Christiaan Janssen
Cc: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] JPEG2000 question/issue

Christiaan Janssen wrote:
 I'm wondering if someone can help me with this. I'm trying to build
 GDAL with both support for MrSID and ECW while using the former for
 JPEG2000 support. It appears that as soon as libecw is linked in, it
 is being used as the JPEG2000 reader (even when I have MRSID_FLAGS =
 -DMRSID_J2K uncommented in the make options). I'm assuming this
 probably has something to do with the order that the drivers are tried
 at runtime. Is there a correct way to force the support to default to
 the MrSID library? Thanks for the help.

Christiaan,

Disabling the -DMRSID_J2K should disable the JP2MRSID driver though you may 
need to do a clean build for the change in the nmake.opt to take effect.

Alternatively you can force a particular driver to be ignored at runtime using 
the GDAL_SKIP configuration variable.  Set it to the driver name you want to 
ignore ... such as JP2MRSID.

It can be set in the environment, before running GDAL commands.

set GDAL_SKIP=JP2MRSID

Best regards,
--
---+
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent



___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


RE: [gdal-dev] JPEG2000 question/issue

2008-10-27 Thread Nidel, Mike
Interesting. I'd like to disable NITF handling, is this also possible
in the same way using GDAL_SKIP? Where is the definitive list of format
names that can be used in this way?

thanks,

Mike 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Frank Warmerdam
 Sent: Monday, October 27, 2008 11:24 AM
 To: Christiaan Janssen
 Cc: gdal-dev@lists.osgeo.org
 Subject: Re: [gdal-dev] JPEG2000 question/issue
 
 Christiaan Janssen wrote:
  I'm wondering if someone can help me with this. I'm trying to build 
  GDAL with both support for MrSID and ECW while using the former for 
  JPEG2000 support. It appears that as soon as libecw is 
 linked in, it 
  is being used as the JPEG2000 reader (even when I have 
 MRSID_FLAGS = 
  -DMRSID_J2K uncommented in the make options). I'm assuming this 
  probably has something to do with the order that the 
 drivers are tried 
  at runtime. Is there a correct way to force the support to 
 default to 
  the MrSID library? Thanks for the help.
 
 Christiaan,
 
 Disabling the -DMRSID_J2K should disable the JP2MRSID driver 
 though you may need to do a clean build for the change in the 
 nmake.opt to take effect.
 
 Alternatively you can force a particular driver to be ignored 
 at runtime using the GDAL_SKIP configuration variable.  Set 
 it to the driver name you want to ignore ... such as JP2MRSID.
 
 It can be set in the environment, before running GDAL commands.
 
 set GDAL_SKIP=JP2MRSID
 
 Best regards,
 -- 
 ---+--
 --
 ---+--
 I set the clouds in motion - turn up   | Frank Warmerdam, 
 [EMAIL PROTECTED]
 light and sound - activate the windows | http://pobox.com/~warmerdam
 and watch the world go round - Rush| Geospatial 
 Programmer for Rent
 
 ___
 gdal-dev mailing list
 gdal-dev@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/gdal-dev
 
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] JPEG2000 question/issue

2008-10-27 Thread Even Rouault
Look at the 'Code' column athttp://gdal.org/formats_list.html

or the code reported by gdalinfo --formats

Le Monday 27 October 2008 16:38:48 Nidel, Mike, vous avez écrit :
 Interesting. I'd like to disable NITF handling, is this also possible
 in the same way using GDAL_SKIP? Where is the definitive list of format
 names that can be used in this way?

 thanks,

 Mike

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Frank Warmerdam
  Sent: Monday, October 27, 2008 11:24 AM
  To: Christiaan Janssen
  Cc: gdal-dev@lists.osgeo.org
  Subject: Re: [gdal-dev] JPEG2000 question/issue
 
  Christiaan Janssen wrote:
   I'm wondering if someone can help me with this. I'm trying to build
   GDAL with both support for MrSID and ECW while using the former for
   JPEG2000 support. It appears that as soon as libecw is
 
  linked in, it
 
   is being used as the JPEG2000 reader (even when I have
 
  MRSID_FLAGS =
 
   -DMRSID_J2K uncommented in the make options). I'm assuming this
   probably has something to do with the order that the
 
  drivers are tried
 
   at runtime. Is there a correct way to force the support to
 
  default to
 
   the MrSID library? Thanks for the help.
 
  Christiaan,
 
  Disabling the -DMRSID_J2K should disable the JP2MRSID driver
  though you may need to do a clean build for the change in the
  nmake.opt to take effect.
 
  Alternatively you can force a particular driver to be ignored
  at runtime using the GDAL_SKIP configuration variable.  Set
  it to the driver name you want to ignore ... such as JP2MRSID.
 
  It can be set in the environment, before running GDAL commands.
 
  set GDAL_SKIP=JP2MRSID
 
  Best regards,
  --
  ---+--
  --
  ---+--
  I set the clouds in motion - turn up   | Frank Warmerdam,
  [EMAIL PROTECTED]
  light and sound - activate the windows | http://pobox.com/~warmerdam
  and watch the world go round - Rush| Geospatial
  Programmer for Rent
 
  ___
  gdal-dev mailing list
  gdal-dev@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/gdal-dev

 ___
 gdal-dev mailing list
 gdal-dev@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/gdal-dev


___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev