Re: [Qgis-user] Weekly builds and JP2 files

2013-12-19 Thread Jonathan Moules
*Even,*
Thanks for the information. I agree with the ideal of a FOSS JP2 library
but we're not in a position to contribute towards it; at best it's
ancilliary to our needs. At worst I could use any one of a number of other
formats, it just so happens that for now the data is in JP2.

Jürgen,
Ok, thanks for the clarification, I didn't pick up on that before. These
are 32bit clients, so I guess we'll need to upgrade to see the change.

Cheers,
Jonathan

On 19 December 2013 15:47, Even Rouault wrote:

> Selon Jonathan Moules :
>
> > I'm wondering - is there a reason that the JP2Open is distributed with
> > QGIS/GDAL given it seems to do a terrible job? At least it does with all
> > the ones I've tested against. Could the JP2ECW be distributed as the
> > default instead?
>
> It depends on the images. On tiled JPEG2000, the OpenJPEG library is
> usable,
> although admitedly much slower than JP2ECW or JP2KAK. On single tile
> JPEG2000
> images, the performance of OpenJPEG is really terrible since it will
> decompress
> the whole image even if a subwindow is asked.
> I'm sure the OpenJPEG developers would welcome funding and/or patches to
> improve
> the performance of the library. We need a performant free and open source
> JPEG2000 decoder. The proprietary alternatives are workaround.
>
>




>  >
> > (again, I'm using the weekly build here).
> > Cheers,
> > Jonathan
> >
> >
> >
> > On 18 December 2013 15:35, Andre Joost 
> wrote:
> >
> > > Am 17.12.2013 20:47, schrieb Jukka Rahkonen:
> > >
> > >
> > >
> > >> If there are several drivers for JPEG2000 GDAL is using the first on
> the
> > >> list. You can skip a driver by setting GDAL_SKIP environment. Thus,
> if I
> > >> would like to have a try with JP2OpenJPEG I should run SET
> > >> GDAL_SKIP=JP2ECW
> > >> first. No idea really how and where I should do it so that QGIS starts
> > >> with
> > >> that setting.
> > >>
> > >
> > > From the menue, Settings -> Options, GDAL tab, lets you select or
> deselect
> > > every driver. QGIS 2.0.1 32bit standalone has JP2ECW and JP2Open, while
> > > OSGEO4W QGIS-dev only has the second one, unless you loaded the ecw
> package
> > > separately.
> > >
> > > Greetings,
> > > André Joost
> > >
> > >
> > > ___
> > > Qgis-user mailing list
> > > Qgis-user@lists.osgeo.org
> > > http://lists.osgeo.org/mailman/listinfo/qgis-user
> > >
> >
> > --
> > This transmission is intended for the named addressee(s) only and may
> > contain sensitive or protectively marked material up to RESTRICTED and
> > should be handled accordingly. Unless you are the named addressee (or
> > authorised to receive it for the addressee) you may not copy or use it,
> or
> > disclose it to anyone else. If you have received this transmission in
> error
> > please notify the sender immediately. All email traffic sent to or from
> us,
> > including without limitation all GCSX traffic, may be subject to
> recording
> > and/or monitoring in accordance with relevant legislation.
> >
>
>
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Weekly builds and JP2 files

2013-12-19 Thread Jürgen E . Fischer
Hi,

On Thu, 19. Dec 2013 at 16:33:01 +0100, Jürgen E. Fischer wrote:
> Um, maybe not overly clear.  _didn't_ was meant to imply that they do now.
> The last nightly builds already depended on gdal-ecw/mrsid and in turn the
> next weekly will, too.

Correction: Only the 64bit build already did, but the next 32bit build will,
too.


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
QGIS PSC member (RM)   IRC: jef on FreeNode 


-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Weekly builds and JP2 files

2013-12-19 Thread Even Rouault
Selon Jonathan Moules :

> I'm wondering - is there a reason that the JP2Open is distributed with
> QGIS/GDAL given it seems to do a terrible job? At least it does with all
> the ones I've tested against. Could the JP2ECW be distributed as the
> default instead?

It depends on the images. On tiled JPEG2000, the OpenJPEG library is usable,
although admitedly much slower than JP2ECW or JP2KAK. On single tile JPEG2000
images, the performance of OpenJPEG is really terrible since it will decompress
the whole image even if a subwindow is asked.
I'm sure the OpenJPEG developers would welcome funding and/or patches to improve
the performance of the library. We need a performant free and open source
JPEG2000 decoder. The proprietary alternatives are workaround.

>
> (again, I'm using the weekly build here).
> Cheers,
> Jonathan
>
>
>
> On 18 December 2013 15:35, Andre Joost  wrote:
>
> > Am 17.12.2013 20:47, schrieb Jukka Rahkonen:
> >
> >
> >
> >> If there are several drivers for JPEG2000 GDAL is using the first on the
> >> list. You can skip a driver by setting GDAL_SKIP environment. Thus, if I
> >> would like to have a try with JP2OpenJPEG I should run SET
> >> GDAL_SKIP=JP2ECW
> >> first. No idea really how and where I should do it so that QGIS starts
> >> with
> >> that setting.
> >>
> >
> > From the menue, Settings -> Options, GDAL tab, lets you select or deselect
> > every driver. QGIS 2.0.1 32bit standalone has JP2ECW and JP2Open, while
> > OSGEO4W QGIS-dev only has the second one, unless you loaded the ecw package
> > separately.
> >
> > Greetings,
> > André Joost
> >
> >
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
>
> --
> This transmission is intended for the named addressee(s) only and may
> contain sensitive or protectively marked material up to RESTRICTED and
> should be handled accordingly. Unless you are the named addressee (or
> authorised to receive it for the addressee) you may not copy or use it, or
> disclose it to anyone else. If you have received this transmission in error
> please notify the sender immediately. All email traffic sent to or from us,
> including without limitation all GCSX traffic, may be subject to recording
> and/or monitoring in accordance with relevant legislation.
>


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Weekly builds and JP2 files

2013-12-19 Thread Jürgen E . Fischer
Hi Jonathan,

On Thu, 19. Dec 2013 at 15:16:05 +, Jonathan Moules wrote:
> I'm wondering - is there a reason that the JP2Open is distributed with
> QGIS/GDAL given it seems to do a terrible job? At least it does with all the
> ones I've tested against. Could the JP2ECW be distributed as the default
> instead?

> (again, I'm using the weekly build here).

On Wed, 18. Dec 2013 at 14:24:23 +0100, Jürgen E. Fischer wrote:
> The qgis-dev package didn't depend on gdal-ecw and gdal-mrsid - in turn the
> weeklies didn't pull those in.

Um, maybe not overly clear.  _didn't_ was meant to imply that they do now.  The
last nightly builds already depended on gdal-ecw/mrsid and in turn the next
weekly will, too.


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
QGIS PSC member (RM)   IRC: jef on FreeNode 


-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Weekly builds and JP2 files

2013-12-19 Thread Jonathan Moules
I'm wondering - is there a reason that the JP2Open is distributed with
QGIS/GDAL given it seems to do a terrible job? At least it does with all
the ones I've tested against. Could the JP2ECW be distributed as the
default instead?

(again, I'm using the weekly build here).
Cheers,
Jonathan



On 18 December 2013 15:35, Andre Joost  wrote:

> Am 17.12.2013 20:47, schrieb Jukka Rahkonen:
>
>
>
>> If there are several drivers for JPEG2000 GDAL is using the first on the
>> list. You can skip a driver by setting GDAL_SKIP environment. Thus, if I
>> would like to have a try with JP2OpenJPEG I should run SET
>> GDAL_SKIP=JP2ECW
>> first. No idea really how and where I should do it so that QGIS starts
>> with
>> that setting.
>>
>
> From the menue, Settings -> Options, GDAL tab, lets you select or deselect
> every driver. QGIS 2.0.1 32bit standalone has JP2ECW and JP2Open, while
> OSGEO4W QGIS-dev only has the second one, unless you loaded the ecw package
> separately.
>
> Greetings,
> André Joost
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Weekly builds and JP2 files

2013-12-18 Thread Andre Joost

Am 17.12.2013 20:47, schrieb Jukka Rahkonen:



If there are several drivers for JPEG2000 GDAL is using the first on the
list. You can skip a driver by setting GDAL_SKIP environment. Thus, if I
would like to have a try with JP2OpenJPEG I should run SET GDAL_SKIP=JP2ECW
first. No idea really how and where I should do it so that QGIS starts with
that setting.


From the menue, Settings -> Options, GDAL tab, lets you select or 
deselect every driver. QGIS 2.0.1 32bit standalone has JP2ECW and 
JP2Open, while OSGEO4W QGIS-dev only has the second one, unless you 
loaded the ecw package separately.


Greetings,
André Joost

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Weekly builds and JP2 files

2013-12-18 Thread Jürgen E . Fischer
Hi Jonathan,

On Wed, 18. Dec 2013 at 12:20:31 +, Jonathan Moules wrote:
> I'm only seeing the JP2OpenJPEG in there (this is for the weeklies, I've
> uninstalled my 2.0 so can't check that).

The qgis-dev package didn't depend on gdal-ecw and gdal-mrsid - in turn the
weeklies didn't pull those in.


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
QGIS PSC member (RM)   IRC: jef on FreeNode 


-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Weekly builds and JP2 files

2013-12-18 Thread Rahkonen Jukka
Hi,

Speed difference comes probably from the GDAL driver. I have no idea about what 
it means to add JP2ECW driver to GDAL and QGIS. I can see that there is a dll 
file "gdal_ECW_JP2ECW.dll" in a directory "C:\Program Files\QGIS 
Dufour\bin\gdalplugins" but I do not know if the plugin and GDAL must be 
compiled together or if even QGIS must be compiled in the same pipe.

-Jukka-

Jonathan Moules wrote:

Hi Jukka,
  I'm only seeing the JP2OpenJPEG in there (this is for the weeklies, I've 
uninstalled my 2.0 so can't check that).

So I guess given the behaviour/speed difference that 2.0 comes with the JP2ECW 
driver? Would it be much effort to add to the weeklies? Or is there a way to 
for me to easily add it post-install?

Thanks,
Jonathan

On 17 December 2013 19:47, Jukka Rahkonen 
mailto:jukka.rahko...@mmmtike.fi>> wrote:
Jonathan Moules mailto:jonathanmoules@...>> writes:

>
>
> Anyone?
>
> On 11 December 2013 17:04, Jonathan Moules
mailto:jonathanmou...@warwickshire.gov.uk>> 
wrote:
> Hi List,
> A question about the weekly builds 
> (www.qgis.org/downloads/weekly). They
seem to struggle with loading JP2 files using the usual raster dialog. First
they're incredibly slow, but on top of that when they do load they tend to
be some sort of horrible mess of lots of black of random colours in a
griddish pattern or similar.
>
> Do the weekly builds not include a functional JP2 reader? The same rasters
work just fine in the stable release 2.0.1.
Hi,

Check what drivers are baked into GDAL. In Windows you can go to QGIS Dufour
directory, set the environment by running osgeo4w.bat and then you can list
the JP2 drivers as

C:\Program Files\QGIS Dufour>gdal_translate --formats |find "JP2"
  JP2ECW (rov): ERDAS JPEG2000 (SDK 5.0)
  JP2OpenJPEG (rwv): JPEG-2000 driver based on OpenJPEG library

JP2ECW is fast and JP2OpenJPEG is sometimes almost usable. JP2KAK is very
good but that you can't get without Kakadu license. JP2MrSID used to be fast
also but I do not know what is the status with the license.

If there are several drivers for JPEG2000 GDAL is using the first on the
list. You can skip a driver by setting GDAL_SKIP environment. Thus, if I
would like to have a try with JP2OpenJPEG I should run SET GDAL_SKIP=JP2ECW
first. No idea really how and where I should do it so that QGIS starts with
that setting.

-Jukka Rahkonen-

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us, including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Weekly builds and JP2 files

2013-12-18 Thread Jonathan Moules
Hi Jukka,
  I'm only seeing the JP2OpenJPEG in there (this is for the weeklies, I've
uninstalled my 2.0 so can't check that).

So I guess given the behaviour/speed difference that 2.0 comes with the
JP2ECW driver? Would it be much effort to add to the weeklies? Or is there
a way to for me to easily add it post-install?

Thanks,
Jonathan


On 17 December 2013 19:47, Jukka Rahkonen  wrote:

> Jonathan Moules  writes:
>
> >
> >
> > Anyone?
> >
> > On 11 December 2013 17:04, Jonathan Moules
>  wrote:
> > Hi List,
> > A question about the weekly builds (www.qgis.org/downloads/weekly). They
> seem to struggle with loading JP2 files using the usual raster dialog.
> First
> they're incredibly slow, but on top of that when they do load they tend to
> be some sort of horrible mess of lots of black of random colours in a
> griddish pattern or similar.
> >
> > Do the weekly builds not include a functional JP2 reader? The same
> rasters
> work just fine in the stable release 2.0.1.
>
> Hi,
>
> Check what drivers are baked into GDAL. In Windows you can go to QGIS
> Dufour
> directory, set the environment by running osgeo4w.bat and then you can list
> the JP2 drivers as
>
> C:\Program Files\QGIS Dufour>gdal_translate --formats |find "JP2"
>   JP2ECW (rov): ERDAS JPEG2000 (SDK 5.0)
>   JP2OpenJPEG (rwv): JPEG-2000 driver based on OpenJPEG library
>
> JP2ECW is fast and JP2OpenJPEG is sometimes almost usable. JP2KAK is very
> good but that you can't get without Kakadu license. JP2MrSID used to be
> fast
> also but I do not know what is the status with the license.
>
> If there are several drivers for JPEG2000 GDAL is using the first on the
> list. You can skip a driver by setting GDAL_SKIP environment. Thus, if I
> would like to have a try with JP2OpenJPEG I should run SET GDAL_SKIP=JP2ECW
> first. No idea really how and where I should do it so that QGIS starts with
> that setting.
>
> -Jukka Rahkonen-
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Weekly builds and JP2 files

2013-12-17 Thread Jukka Rahkonen
Jonathan Moules  writes:

> 
> 
> Anyone?
> 
> On 11 December 2013 17:04, Jonathan Moules
 wrote:
> Hi List,
> A question about the weekly builds (www.qgis.org/downloads/weekly). They
seem to struggle with loading JP2 files using the usual raster dialog. First
they're incredibly slow, but on top of that when they do load they tend to
be some sort of horrible mess of lots of black of random colours in a
griddish pattern or similar.
> 
> Do the weekly builds not include a functional JP2 reader? The same rasters
work just fine in the stable release 2.0.1.

Hi,

Check what drivers are baked into GDAL. In Windows you can go to QGIS Dufour
directory, set the environment by running osgeo4w.bat and then you can list
the JP2 drivers as

C:\Program Files\QGIS Dufour>gdal_translate --formats |find "JP2"
  JP2ECW (rov): ERDAS JPEG2000 (SDK 5.0)
  JP2OpenJPEG (rwv): JPEG-2000 driver based on OpenJPEG library

JP2ECW is fast and JP2OpenJPEG is sometimes almost usable. JP2KAK is very
good but that you can't get without Kakadu license. JP2MrSID used to be fast
also but I do not know what is the status with the license.

If there are several drivers for JPEG2000 GDAL is using the first on the
list. You can skip a driver by setting GDAL_SKIP environment. Thus, if I
would like to have a try with JP2OpenJPEG I should run SET GDAL_SKIP=JP2ECW
first. No idea really how and where I should do it so that QGIS starts with
that setting.

-Jukka Rahkonen-

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Weekly builds and JP2 files

2013-12-17 Thread Jonathan Moules
Anyone?


On 11 December 2013 17:04, Jonathan Moules <
jonathanmou...@warwickshire.gov.uk> wrote:

> Hi List,
> A question about the weekly builds (www.qgis.org/downloads/weekly). They
> seem to struggle with loading JP2 files using the usual raster dialog.
> First they're incredibly slow, but on top of that when they do load they
> tend to be some sort of horrible mess of lots of black of random colours in
> a griddish pattern or similar.
>
> Do the weekly builds not include a functional JP2 reader? The same rasters
> work just fine in the stable release 2.0.1.
>
> Thanks,
> Jonathan
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Weekly builds and JP2 files

2013-12-11 Thread Jonathan Moules
Hi List,
A question about the weekly builds (www.qgis.org/downloads/weekly). They
seem to struggle with loading JP2 files using the usual raster dialog.
First they're incredibly slow, but on top of that when they do load they
tend to be some sort of horrible mess of lots of black of random colours in
a griddish pattern or similar.

Do the weekly builds not include a functional JP2 reader? The same rasters
work just fine in the stable release 2.0.1.

Thanks,
Jonathan

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user