[mapserver-users] Status on ticket 2582?

Alan Boudreault aboudreault at mapgears.com
Fri Feb 20 09:07:55 EST 2009


Pal,

It isn't a mapfile syntax, but it could be used in Mapscript. Here's an 
example:

<?php
$map_wms = ms_newMapObj("gmap75.map");
$layer_wms = $map_wms->getLayerByName("prov_bound2");
$layer_wms->set("status", MS_DELETE);

// WMS
$request = ms_newOwsrequestObj();
$request->setparameter('VERSION','1.1.1'); 
$request->setparameter('SERVICE','WMS'); 
$request->setparameter('REQUEST','GetCapabilities'); 
$map_wms->owsdispatch($request);
?>

Alan

On February 20, 2009 08:39:57 am paalkr wrote:
> Hi!
>
> I see that this ticket now is closed and part of the 5.4 beta 1 (thanks),
> but I would appreciate if someone could give me an example of how the
> mapfile syntax is.
>
> Regards,
> Pål Kristensen
>
> Daniel Morissette wrote:
> > paalkr wrote:
> >> Hi all devs!
> >>
> >> What is the status on ticket 
> >> http://trac.osgeo.org/mapserver/ticket/2582 2582 ? Is this going to be
> >> included in 5.4?
> >
> > Yes, we'll take care of it for 5.4.
> >
> > Daniel
> > --
> > Daniel Morissette
> > http://www.mapgears.com/
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list