possible to add extra xml tag in WFS from postgis database?

Edward Fialkowski wef1 at CEC.WUSTL.EDU
Fri Sep 14 13:40:02 EDT 2007


Hi List, I have mapserver serving a WFS from a postgis database and was
wondering if it woudl be possible to add some extra tags with values from
the database.

For example, here is one feature output:
    <ms:FireManageZones fid="DNR">
    <gml:boundedBy>
    <gml:Box srsName="EPSG:4326">
<gml:coordinates>-150.282283,61.121625 -150.156914,61.173753
</gml:coordinates>
</gml:Box>
</gml:boundedBy>
    <ms:msGeometry>
    <gml:Polygon srsName="EPSG:4326">
    <gml:outerBoundaryIs>
    <gml:LinearRing>
    <gml:coordinates>
-150.238278,61.121625 -150.273558,61.123167 -150.282283,61.126103 -
150.243647,61.132514 -150.223019,61.168200 -150.197936,61.173608 -150.161342
,61.173753 -150.156914,61.167431 -150.175039,61.147975 -150.195642,61.136814-
150.238278,61.121625
</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</ms:msGeometry>
<ms:PERIMETER>2.90162230000e-001</ms:PERIMETER>
<ms:REGION>MSS</ms:REGION>
<ms:AGENCY>DNR</ms:AGENCY>
<ms:SHAPE_Leng>2.90159043604e-001</ms:SHAPE_Leng>
<ms:SHAPE_Area>2.78830290124e-003</ms:SHAPE_Area>
</ms:FireManageZones>
</gml:featureMember>


and I would just love to add a <gml:value>xxx</gml:value> for 1 to this
output.  The xxx is a number in the 'value' column of the same database
mapserver is accessing and would be different for each feature.

Any ideas would be greatly appreciated.
Thanks!
-Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070914/071f10ab/attachment.html


More information about the mapserver-users mailing list