[mapserver-users] MapServer + Tilecache
Tyler Durden
tylersticky at gmail.com
Wed Nov 4 10:52:38 PST 2009
Hi all,
I'm new to MapServer, until now I've used Mapnik to generate my tiles.
But I want to try MapServer and I can't figure out what I'm doing
wrong.
If I run via WEB interface it renders fine, but with Tilecache the
tiles appears blank.
Any idea what I'm doing wrong?
Thanks in advance.
MAP
NAME "test"
EXTENT -961006 5034756 -955378 5036634
IMAGECOLOR 255 255 0
IMAGETYPE JPEG
SIZE 256 256
STATUS ON
UNITS METERS
MAXSIZE 5000
SHAPEPATH "/home/tyler/Projects/Python/mapserver/tilecache/vias/"
PROJECTION
"proj=merc"
"a=6378137"
"b=6378137"
"lat_ts=0.0"
"lon_0=0.0"
"x_0=0.0"
"y_0=0"
"k=1.0"
"units=m"
"nadgrids=@null"
"wktext"
"no_defs"
END
LAYER
NAME vias
TYPE LINE
DATA vias
STATUS default
OFFSITE 0 0 0
PROJECTION
"init=epsg:4326"
END
CLASS
NAME "Countries"
OUTLINECOLOR 0 0 0
END
TRANSFORM true
END
tilecache.cfg:
[cache]
type=Disk
base=/home/tyler/Projects/Python/mapserver/tilecache/cache
[base]
type=MapServerLayer
layers=vias
mapfile=/home/tyelr/Projects/Python/mapserver/tilecache/vias.map
projection=+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0
+x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over
bbox=-20037508,-20037508,20037508,20037508
maxResolution=2000
srs=EPSG:4326
levels=12
extension=jpeg
size=256,256
metaTile=yes
metaBuffer=512
metaSize=5,5
debug=on
More information about the MapServer-users
mailing list