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

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Wed Apr 28 09:36:41 EDT 2010


Hi Lars,

You should have read the link I sent for you :) Here is an excerpt:

"Yes, it should work, though looking at the code it only looks for world
files with the extension .wld in this case (not .tfw, or .tifw).  The code
is:"

So this piece of code that Frank kindly made when I asked if it could be possible to override georeferencing info of geotiffs and use world files instead is looking just for .wld files. Generally gdal does not behave this way.

-Jukka-




-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users-bounces at lists.osgeo.org puolesta: Frank Warmerdam
Lähetetty: ke 28.4.2010 16:28
Vastaanottaja: LIN at gispro.dk
Kopio: mapserver-users at lists.osgeo.org
Aihe: Re: [mapserver-users] Disregard ECW header for TFW in TILEINDEX ?
 
Lars I. Nielsen (GisPro) wrote:
> Hi Richard,
> 
> Ah, Mapserver and/or GDAL doesn't support the TFW extension anymore ? 
> Didn't know that. When did this happen ?
> 
> Renaming the TFW to WLD did the trick, now the ECW displays nicely.


Lars,

As far as I know the .tfw extension was only ever for tiff files.  The
rule for worldfiles is that you take the first and last letter of the
regular extension and add a w to make the three letter world file
extension for the target file.

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

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list