[gdal-dev] CEOS issues on WinXP

Pinner, Luke Luke.Pinner at environment.gov.au
Mon Sep 21 21:12:13 EDT 2009


Hi all,

Opening ALOS AVNIR-2 & PRISM (CEOS format) images using GDAL is really
slow and uses loads of memory on Windows XP. This includes things like
gdalinfo and opening via the python bindings (gdal.Open()).

I've tried (on WinXP) with various gdal installs (fwtools, osgeo4w,
basic binaries) and same issue.
Is anybody else experiencing this, is this a bug that I should log?

Below is an example using gdalinfo on an ALOS PRISM  image on WinXP &
linux.
Testdata is from:
http://www.ga.gov.au/remote-sensing/get-satellite-imagery-data/product-s
amples.jsp

Regards
Luke Pinner

Example:

**Windows XP (32 bit)**
C:\> gdalinfo --version
GDAL 1.6.2, released 2009/07/31
C:\> gdalinfo
U:\work\testdata\alos_prism\ceos_02041_02b\product\scene01\img-alpsmb021
733905-o1b2g_ub
Driver: CEOS/CEOS Image
Files:
U:\work\testdata\alos_prism\ceos_02041_02b\product\scene01\img-alpsmb021
733905-o1b2g_ub
 
U:\work\testdata\alos_prism\ceos_02041_02b\product\scene01\img-alpsmb021
733905-o1b2g_ub.aux.xml
Size is 18855, 17086
Coordinate System is `'
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0,17086.0)
Upper Right (18855.0,    0.0)
Lower Right (18855.0,17086.0)
Center      ( 9427.5, 8543.0)
Band 1 Block=18855x1 Type=Byte, ColorInterp=Undefined
  Min=1.000 Max=255.000 
  Minimum=1.000, Maximum=255.000, Mean=69.835, StdDev=18.376
  NoData Value=0
  Metadata:
    STATISTICS_MINIMUM=1
    STATISTICS_MAXIMUM=255
    STATISTICS_MEAN=69.834780742218
    STATISTICS_STDDEV=18.375728841108

Takes: 111 seconds
Peak mem usage: 636 Mb

**Ubuntu 9.04 (64 bit)**
$ gdalinfo --version
GDAL 1.6.2, released 2009/07/31

$ gdalinfo
/data/work/testdata/alos_prism/ceos_02041_02b/product/scene01/img-alpsmb
021733905-o1b2g_ub
Driver: CEOS/CEOS Image
Files:
/data/work/testdata/alos_prism/ceos_02041_02b/product/scene01/img-alpsmb
021733905-o1b2g_ub
 
/data/work/testdata/alos_prism/ceos_02041_02b/product/scene01/img-alpsmb
021733905-o1b2g_ub.aux.xml
Size is 18855, 17086
Coordinate System is `'
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0,17086.0)
Upper Right (18855.0,    0.0)
Lower Right (18855.0,17086.0)
Center      ( 9427.5, 8543.0)
Band 1 Block=18855x1 Type=Byte, ColorInterp=Undefined
  Min=1.000 Max=255.000 
  Minimum=1.000, Maximum=255.000, Mean=69.835, StdDev=18.376
  NoData Value=0
  Metadata:
    STATISTICS_MINIMUM=1
    STATISTICS_MAXIMUM=255
    STATISTICS_MEAN=69.834780742218
    STATISTICS_STDDEV=18.375728841108

Takes: 1.4 seconds
Peak mem usage: 0.6 Mb (ps -o rss)


------
If you have received this transmission in error please notify us immediately by return e-mail and delete all copies. If this e-mail or any attachments have been sent to you in error, that error does not constitute waiver of any confidentiality, privilege or copyright in respect of information in the e-mail or attachments. 



Please consider the environment before printing this email.

------



More information about the gdal-dev mailing list