hello
i try this
awebdef = mapscript.webObj()
awebdef.maxscaledenom = 1550000
awebdef.minscaledenom = 1000
awebdef.imagepath="/var/www/path/"
awebdef.imageurl="../tmp/"
awebdef.metadata = mapscript.hashTableObj()
awebdef.metadata.set("ows_TITLE", atitle)
mapServerUrl = u.sitepath_prm
mapfilepath = u.mapfilepath_prm
awebdef.metadata.set("ows_ONLINERESOURCE",
mapServerUrl+"map="+mapfilepath+layer.name_lyr+".map")
awebdef.metadata.set("owsAbstract" , layer.libel_lyr)
awebdef.metadata.set("owsSrs", "EPSG:"+str(projection))
awebdef.log = "../tmp/web.log"
amapfile.web = awebdef
but the result still this in my mapfile
WEB
END # WEB
someone knows why may be
T.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users