Opened 12 years ago

Closed 12 years ago

#4729 closed defect (invalid)

MrSid files refuse to read

Reported by: myrddyn Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: 1.9.1
Severity: normal Keywords:
Cc:

Description

I have compiled gdal 1.9.1 including mrsid_DSDK-8.5.0.3422-x86_64.gcc44. my system is gentoo with kernel 3.3.8, gcc 4.5.3 I did the following to configure: copied the mrsid files into /usr/local (include/lib/etc.) ran ./configure --with-mrsid=/usr/local --with-mrsid-lidar=/usr/local

./configure output shows: (skimming for mrsid lines) checking for lt_base.h in /usr/local/include... found MrSID DSDK version 7.x or newer.

MrSID support: yes MrSID/MG4 Lidar support: yes

make, sudo make install. gdal utities work fine (as far as I can tell) but when I try to do even gdalinfo on a .sid file I get. gdalinfo input.sid ERROR 4: `input.sid' not recognised as a supported file format. gdalinfo failed - unable to open 'input.sid'.

mrsidinfo input.sid reports dmrsidinfo: Copyright (c) 2010 LizardTech. All rights reserved.

basic image info:

format: MrSID/MG3 width: 145070 height: 98172 nband: 3 color space: RGB datatype: uint8 precision: 8 dyn range min: (natural) dyn range max: (natural) background color: (0, 0, 0) nodata color: (0, 0, 0) nominal size: 42725436120 (40 GB) physical size: 2935848202 (3 GB) compression ratio: 14.6 : 1 mag range: 0.000031 to 1048576.000000 metadata records: 5 num AOI regions: 0

geo coordinate info:

X UL: 374944.500000 Y UL: 4997518.500000 X res: 1.000000 Y res: -1.000000 X rot: 0.000000 Y rot: 0.000000

geo points (pixel centers):

upper left: (374944.500000, 4997518.500000) upper right: (520013.500000, 4997518.500000) lower left: (374944.500000, 4899347.500000) lower right: (520013.500000, 4899347.500000) center: (447479.000000, 4948433.000000)

MrSID image info:

number of levels: 15 is locked: false file version: 3.0.26.q modifications UNKNOWN

MrSID/MG3 (composite) image info:

number of tiles: 2 is optimizable: true has MG2 data: false

so.. the file is a valid .sid file, I've used it before, but gdalinfo does not want to consider the included mrsid_dsdk.

Change History (1)

comment:1 by myrddyn, 12 years ago

Resolution: invalid
Status: newclosed

I found my problem. I aparantly had multiple versions of gdal installed, and it was trying to run the pre-existing version of the program out of a different folder instead of the manually built one.

Note: See TracTickets for help on using tickets.