Working with the OWSRequest from PHP

Eduard Witteveen e.witteveen at HAWARIT.COM
Mon Jan 30 02:34:59 PST 2006


Eduard Witteveen wrote:
<snip />
> As you can notice, i want to change the color and the font also from 
> data stored in my database. How can i accomplish this?
> 
> During my search for a sollution i also found some information about WMS 
> SLD (Styled Layer Descriptor) interface of Mapserver, but i dont know if 
> this can help me to accomplish my task?
Since i could not get the values dynamically, i'm currently working on 
my wms-server(well 1 php page), so i can add layers dynamically and add 
this way dynamic layer settings to my application.
In the documentation on 
http://mapserver.gis.umn.edu/docs/reference/mapscript/index_html#owsrequest 
there is a sample in which a OWSRequest object is used. Since i'd rather 
prefer using this OWSRequest object instead of writing my own ows parser 
  i'd tried using this functionality under php.

Are there any examples in php of this functionality? Also the sample 
code indicates that there should be a loadWMSRequest method on the 
mapObj, but i cannot find it under the mapObj methods.

> MapServer Version 	MapServer version 4.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG
> PHP MapScript Version 	($Revision: 1.235 $ $Date: 2005/06/14 16:03:35 $)


-- 
Ing. Eduard Yeb Witteveen           Software Engineer
Hawar Information Technology bv   lid Dijkoraad Groep
De Wymerts 7  8701 WT                        Bolsward
Tel: +31 (0)515 570333         Fax: +31 (0)515 570335
http://www.hawarit.com/             nl_NL fy_NL en_US



More information about the MapServer-users mailing list