[Gfoss] OpenLayers con TileCache

francesco334 francesco334 a interfree.it
Ven 29 Ago 2008 18:42:34 CEST


Ciao a tutti,

stoprovando adutilizzare TileCache con OpenLayers.
Se almio layer ci scrivo :
var l_aree = new OpenLayers.Layer.WMS(
                                "Aree_Sensibili",
"http://127.0.0.1:8081/TileCache-2.01/tilecache.cgi?",
                                {layers: 'areesensibili'},{'reproject':
true},{isBaseLayer: false}); 

me lo visualizza come layer base! (quandoinvece ho settato
isBaseLayer:false).
Se inverto :
var l_aree = new OpenLayers.Layer.WMS(
                                "Aree_Sensibili",
"http://127.0.0.1:8081/TileCache-2.01/tilecache.cgi?",
                                {layers: 'areesensibili'},{isBaseLayer:
false},{'reproject': true}); 

melo visualizza comelayer base ma non mi fa il reproject! (cioè sulla
mappabase di google melo vedo spostato!).

Comeposso risolvere? Possosettare uno dei due parametri in tilecache.cfg?
in questo file il layer l'ho settato così :

[areesensibili]
type=WMSLayer
url=http://localhost:8081/cgi-bin/mapserv.exe?map=/ms4w/apps/gmap-puglia/htdocs/gmap75.map&transparent=true
extension=png
#extent_type=loose
#srs=EPSG:26592

Grazie,
Francesco
-- 
View this message in context: http://www.nabble.com/OpenLayers-con-TileCache-tp19223528p19223528.html
Sent from the Gfoss mailing list archive at Nabble.com.




Maggiori informazioni sulla lista Gfoss