[ms4w-users] mr sid

Jeff McKenna jmckenna at dmsolutions.ca
Wed Jan 31 14:38:19 EST 2007


Kevin,

As you mentioned, since MS4W 2.1 the MrSID support has been build into 
this GDAL build (no plugin is needed anymore).

I have MS4W 2.2.2 and just tested a MrSID image in gdalinfo and in a 
MapServer mapfile with no problems.

gdalinfo
========

 >gdalinfo --formats
Supported Formats:
   ...
   MrSID (ro): Multi-resolution Seamless Image Database (MrSID)
   RMF (rw+): Raster Matrix Format
   WCS (ro): OGC Web Coverage Service
   MSGN (ro): EUMETSAT Archive native (.nat)
   RST (rw+): Idrisi Raster A.1
   RIK (ro): Swedish Grid RIK (.rik)
   USGSDEM (rw): USGS Optional ASCII DEM (and CDED)
   GXF (ro): GeoSoft Grid Exchange Format
   HDF5 (ro): Hierarchical Data Format Release 5
   HDF5Image (ro): HDF5 Dataset

 >gdalinfo 9768-07.sid |more
Driver: MrSID/Multi-resolution Seamless Image Database (MrSID)
Size is 5000, 5000
Coordinate System is `'
Origin = (1965000.000000000000000,790000.000000000000000)
Pixel Size = (0.500000000000000,-0.500000000000000)
Metadata:
   IMAGE__STATISTICS_MIN=1,1,1
   IMAGE__STATISTICS_MAX=254,254,254
   IMAGE__STATISTICS_MEAN=112.976752,105.655555,87.594533
   IMAGE__STATISTICS_STANDARD_DEVIATION=35.312208,34.286179,30.511998

mapfile layer
=============

LAYER
   NAME mrsid
   TYPE RASTER
   STATUS DEFAULT
   DATA "9768-07.sid"
   CLASS
   END
END


jeff



Kevin Flanders wrote:
> Frank,
> 
> Well, these images did work with my older ms4w....when I had to setup the
> sdk under the gdalplugins and register this location.  I did not see such
> instructions with the latest ms4w....but I have done this anyways, with no
> change in results.  I am running Chameleon, and getting a php error when
> turning on these sids.
> 
> Is this setup still required, or is the sid support built-in at a deeper
> level now?
> 
> 
> 
> Kevin
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Frank Warmerdam [mailto:warmerdam at pobox.com]
> Sent: Wednesday, January 31, 2007 1:28 PM
> To: Kevin Flanders
> Cc: ms4w-users at lists.maptools.org
> Subject: Re: [ms4w-users] mr sid
> 
> 
> Kevin Flanders wrote:
>> My ms4w 2.1 setup is not supporting mr. sid imagery.  The sid files I
>> have were created years ago....and I am wondering if the latest sid
>> support is only for the latest sid format?  I realize that the sid
>> plugins are being handled differently in this ms4w 2.1 version....but how?
> 
> Kevin,
> 
> I am reasonably sure that the recent MrSID SDK is supposed to support all
> the older .sid formats.  Lizardtech is quite careful about this sort of
> thing.
> So perhaps there is another issue?
> 
> Best regards,
> --
> ---------------------------------------+------------------------------------
> --
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | President OSGeo, http://osgeo.org


-- 
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca


More information about the ms4w-users mailing list