[OpenLayers-Users] Trying to get TileCache working with OpenLayers
David Fawcett
david.fawcett at gmail.com
Tue Jul 31 21:56:19 EDT 2007
I have a simple OpenLayers app that I am trying to get working with
TileCache. The layer is a MapServer served WMS layer. The image is
500x500. I am getting pink tiles, no images for the tilecache layer. Below
is quite a bit of info, let me know any other info is needed to diagnose.
The URL is: http://www.flatlandmaps.com/schooldistricts/dev2distinfo.html
The data is in EPSG:26915 (meters)
Here are the map and layer definitions from the html file:
var map = new OpenLayers.Map('map', {'projection':'EPSG:26915',
'units':'meters',
'maxExtent': new OpenLayers.Bounds
(485662,4775700,720470,4989969),
'maxResolution': 469.616 } );
var districts = new OpenLayers.Layer.WMS( "School Districts", "
http://www.flatlandmaps.com/tc/tilecache-1.4/tilecache.cgi?", {layers:
'tcdistricts'});
Here is the layer entry from tilecache.cfg:
[tcdistricts]
type=WMSLayer
url=
http://www.flatlandmaps.com/cgi-bin/mapserv?map=/var/www/flatlandmaps.com/maps/schooldist/schooldist.map
layers=districts
extension=png
metaTile=true
maxResolution=469.616
srs=EPSG:26915
metaBuffer=10
bbox=485662,4775700,720470,4989969
More information about the Users
mailing list