[OpenLayers-Users] Layer.Tilecache does not match display projection
Matt Bartolome
mattxbart at gmail.com
Tue Jan 13 13:24:34 EST 2009
Hi,
I'm trying to use a static pre-generated Tilecache layer in my map.
The projection is EPSG:2230. For some reason the layer is shifted
about 18 miles to the west and south of what the display coordinates
indicate (when I mouse over the map). For example if I do a
map.setCenter with a known coordinate with the correct projection my
layer display is off.
When I use the same cache with a WMS layer in front of it (using
tilecache server) everything looks perfect.
Is there a trick to getting Layer.Tilecache to play nice or am I stuck
using WMS Layers? I feel like I'm missing something really basic here.
Thanks,
Matt
My projs def is set to:
Proj4js.defs["EPSG:2230"] = "+proj=lcc +lat_1=33.88333333333333
+lat_2=32.78333333333333 +lat_0=32.16666666666666 +lon_0=-116.25
+x_0=2000000.0001016 +y_0=500000.0001016002 +ellps=GRS80 +datum=NAD83
+to_meter=0.3048006096012192 +no_defs";
More information about the Users
mailing list