[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
>From FireBug, the tiles that are failing have a URL of:
http://www.flatlandmaps.com/tc/tilecache-1.4/tilecache.cgi?LAYERS=tcdistricts&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A26915&BBOX=485662%2C4775700%2C605883.696%2C4895921.696&WIDTH=256&HEIGHT=256
Thanks,
David.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070731/6a3c6f79/attachment.html
More information about the Users
mailing list