Tiling maps
bfraser
bfraser at geoanalytic.ab.ca
Tue Oct 12 07:40:49 PDT 1999
Paul,
As long as you don't want to query the data in the tiles, you
can use the tiling feature in MapServer.
1. Create a shapefile containing the outlines of the counties
2. Create a column in the shapefile with the name of LOCATION
3. For each county outline shape in the shapefile, enter the filename
of the county shapefile in the LOCATION column (leave off the
.shp )
4. Edit the "map" file. Add an entry for TILE at the top. This
contains the path to the directory containing county files. It is
prepended to the name in the LOCATION column to build the
full path to the shapefiles.
Add a LAYER entry with an INDEX entry. The index is the name
of the shapefile you created in step 1.
A couple of notes about tiles:
1. The tile index shapefile and the "data" shapefiles must be in
the same coordinate system.
2. Mapserver will not query data in tiled files.
Brent
----- Original Message -----
From: Paul G. Allen <pgallen at randomlogic.com>
To: MapServer Users List <mapserver-users at lists.gis.umn.edu>
Sent: Monday, October 11, 1999 4:24 PM
Subject: Tiling maps
> I am ready to tile maps but I'm not sure how to do this. I have fairly
good data
> for the entire US, separated by county. What I want to do is to be able to
> display a map of any size from a single county to several counties,
possibly an
> entire state. My question is, how would I display two adjacent counties as
a
> single map?
>
> PGA
>
>
More information about the MapServer-users
mailing list