Default Worldfile?

Lowell.Filak lfilak at MEDINACO.ORG
Thu Dec 22 13:31:19 EST 2005


Sage Lichtenwalner writes: 

> Hi all, 
> 
> I have thousands of datafiles which all cover the same location and I
> intend to use them in the same data layer. 
> 
> My question is, can I specify a default worldfile for the layer or place
> the location information directly in the mapfile, instead of having to
> create a corresponding worldfile for every single datafile?  The later
> seems awfully inefficient.

Sage, 

Could you do something like:
find . -name '*.tif' -exec perl -e 
'for(@ARGV){$o=$_;$o=~s/\.tif/\.wld/;system("ln -s standard.wld $o")}' {} \; 

Not elegant but at least it doesn't take up redundant space. 

Lowell 



More information about the mapserver-users mailing list