displaying mrsid files in mapserver

John Spotten John.Spotten at CAPETOWN.GOV.ZA
Tue Feb 15 00:02:30 PST 2005


NOTE:  This e-mail (including attachments) is subject to the restrictions, qualifications
 and disclaimers (“disclaimer”) published at www.capetown.gov.za/disclaimer/email.pdf.
Please read the disclaimer before opening any attachment or taking any other action in
terms of this e-mail. If you cannot access the disclaimer, kindly send an email to
infomail at capetown.gov.za and a copy will be provided to you. By acting on this e-mail
or opening any attachment you agree to be bound by the provisions of the disclaimer.

-------------------------------------------------

Thanks a million Frank,

Now I see it. The reason I couldn't see the sid file in the applet was I hadn't renamed the georeferencing world file w55d.sdw to w55d.wld. I remember reading about it in a document on the mapserver site but forgot about it.

A note of interest for other users, with the mrsid brower plugin from www.lizardtech.com installed and the gdal with mrsid reading/decoding support, when I click on the html anchors for the mrsid layers i.e. <a href="http://jspotten/ct/w55d.sid>w55d</a>" on an html legend (document on howto available on mapserver site) of the layers, I am taken to a new browser page with the mrsid toolbar above the image and the same zoomin,zoomout,pan and image info including all image metadata.

bye
john

John Spotten
Transport Modeller/GIS Developer
Directorate of Transport, Roads and Stormwater
City of Cape Town
Tel : +27 21 4067325
Fax : +27 21 4186989
Cell : +27 846678901
Email : john.spotten at capetown.gov.za
Web : www.capetown.gov.za


-----Original Message-----
From: Frank Warmerdam [mailto:fwarmerdam at gmail.com]
Sent: 14 February 2005 05:49 PM
To: John Spotten
Cc: MAPSERVER-USERS at lists.umn.edu
Subject: Re: [UMN_MAPSERVER-USERS] displaying mrsid files in mapserver


> Sorry for the delay.
> I couldn't send the w55d.sid mrsid file that doesn't display because it is rather large 60mb.

John,

If you can make it available for download by http somewhere, I
could still grab it pretty easily.

> below is an extract from the gdalinfo utility for w45a03.sid (3mb) and w55d.sid (60mb).
>
> I previously sent you mrsidinfo utility information for both files.
>
> any help would be much appreciated. I notice that the origin and pixel size properties in w45a03.sid are not present for w55d.sid. I get the impression that the input img file had georeferencing for w45a03.sid but this was not the case for the input tiff file for w55d.sid

The coordinate system of the first file seems pretty screwy (linear unit
is fathoms!) and what is there does not come through in the GDAL
coordinate system description.

The second file doesn't appear to have any georeferencing at all.
If it has an sdw file, I suspect the problem is that GDAL is ignoring this.
I believe there have been some recent improvements to world file
handling in GDAL so a more recent build might be slightly better.  In
any event, if you rename the .sdw to .wld, MapServer will pick it
up whether GDAL does or not.

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    | Geospatial Programmer for Rent

-------------- next part --------------
A non-text attachment was scrubbed...
Name: John Spotten.vcf
Type: text/x-vcard
Size: 226 bytes
Desc: John Spotten.vcf
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050215/150a3384/attachment.vcf>


More information about the MapServer-users mailing list