Re: [mapserver-users] how generate web part of mapfile with python mapscript

2011-12-01 Thread Tonton
On Thu, Dec 1, 2011 at 2:51 PM, Frank Broniewski wrote: > Am 01.12.2011 13:43, schrieb Tonton: > >> hello >> i try this >> >> map_obj.web.metadata.set('foo'**, 'bar') > > hth > > Frank > Thanks it's a good way so it's work with no creation of webObj and there metadata amapfile.web.maxscale

Re: [mapserver-users] how generate web part of mapfile with python mapscript

2011-12-01 Thread Frank Broniewski
Am 01.12.2011 13:43, schrieb Tonton: hello i try this awebdef = mapscript.webObj() awebdef.maxscaledenom = 155 awebdef.minscaledenom = 1000 awebdef.imagepath="/var/www/path/" awebdef.imageurl="../tmp/" awebdef.metadata = mapscript.hashTableObj() awebdef.met

[mapserver-users] how generate web part of mapfile with python mapscript

2011-12-01 Thread Tonton
hello i try this awebdef = mapscript.webObj() awebdef.maxscaledenom = 155 awebdef.minscaledenom = 1000 awebdef.imagepath="/var/www/path/" awebdef.imageurl="../tmp/" awebdef.metadata = mapscript.hashTableObj() awebdef.metadata.set("ows_TITLE", atitle) mapServerU