[Mapserver-users] Multiple files as one LAYER
    Eric L. Blevins 
    eblevins at insight.rr.com
       
    Sun Jan  5 23:19:12 PST 2003
    
    
  
I have the same sort of setup and here is what I did.
create a tileindex for your shape files:
find . -name "railroads.shp" -print > metafile.txt
tile4ms metafile.txt railroadstile
In the map file tell it to use the tileindex:
LAYER   name "RailRoads"
        TYPE line
        STATUS DEFAULT
        TILEINDEX "railroadstile"
        TILEITEM "LOCATION"
        
A bit more info can be found here http://mapserver.gis.umn.edu/utils.html
Hope this helps!
eblevins
www.WiFiMaps.com
----- Original Message ----- 
From: "Lyndon Zimmermann" <lyndon.zimmermann at adelaide.edu.au>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Monday, January 06, 2003 1:14 AM
Subject: [Mapserver-users] Multiple files as one LAYER
> Greetings,
> I have data consisting of dozens of shapefiles sitting in individual
> subdirectories which I'd like to load as one LAYER.  I'd rather not
> extend my MAP file with dozens of additional layers if I can avoid it,
> I'd like to think that I could write another file that does this for
> me.  What's the best solution?
> 
> Regards,
> 
> Lyndon Zimmermann
> <lyndon.zimmermann at adelaide.edu.au>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 
    
    
More information about the MapServer-users
mailing list