[mapserver-users] Disregard ECW header for TFW in TILEINDEX ?

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Wed Apr 28 05:32:08 EDT 2010


I believe that version 5.2.1 supports setting EXTENT_PRIORITY. Read http://lists.osgeo.org/pipermail/mapserver-users/2008-October/058227.html

-Jukka Rahkonen-

Lars I. Nielsen wrote:
> Hi Frank,

> This may work, but I'm unable to test it, since I'm currently unable to 
retrieve anything newer than 5.2.1 (included in the latest ms4w.zip). 
There's a newer version 5.7beta of Mapserver included in the FWTools 
package, but the DLL set it uses seems totally different from the one 
used in cgi-bin in the ms4w package.

> Please advise as to how I can download a newer version of Mapserver.

> Cheers.

> Best regards / Med venlig hilsen
> Lars I. Nielsen
> GIS & DB Integrator

Frank Warmerdam skrev:
> Lars I. Nielsen (GisPro) wrote:
>> Hi,
>> I'm trying to set up Mapserver as a WMS server, serving multiple 
>> seamless coverages consisting of ECW raster tiles.
>> My problem is, that the ECW files have been delivered with faulty 
>> header information, and there's too many to fix manually, and the 
>> error cannot easily be remedied programmatically.
>> However, I have generated TFW files for each tile that are correct, 
>> but how do I force Mapserver to use the TFW files and disregard the 
>> faulty ECW header ?
> Lars,
> As it happens this is not a unique situation and MapServer itself has 
> some
> logic to address it.  If you add:
> to your layer definition, then world files will be searched for in 
> preference
> to using the georeferencing returned by GDAL.   I'm not sure exactly 
> when this
> was incorporated but I imagine it is in 5.4 and later.  Also the file 
> extension
> should likely be either .eww or .wld, not .tfw for ecw files.
> Best regards,
mapserver-users mailing list
mapserver-users at lists.osgeo.org

More information about the mapserver-users mailing list