Hello list,

I am also posting this question on the Mapserver mailing list, but maybe Flamingo is keen enough to have a solution already.

I am identifying features on a WMS layer hosted on Mapserver. When I inspect the result of an Identify request with Firebug (the greatest _javascript_ debugger in the world) in FireFox, I see that the request returns values. But... they contain HTML unsafe characters, aargh!

The metadata for the layer in my mapfile is:

METADATA
      "ows_title" "percelen"
      "ows_srs" "EPSG:28992"
      "gml_featureid" "id" ##REQUIRED
      "wms_feature_info_mime_type"  "text/html"
      "ows_feature_info_mime_type"  "text/html"
    "wms_include_items" "all"
    "wfs_include_items" "all"
    "gml_include_items" "all"
    END

And the output

<?xml version="1.0" encoding="ISO-8859-1"?>
<msGMLOutput xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<percelen_layer>
<percelen_feature>
<gml:boundedBy>
<gml:Box srsName="EPSG:4326">
<gml:coordinates>130000.180000,440000.214150 139925.430000,440000.820050</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<KRBJ>HTN00 10233G0000</KRBJ>
<KROBJ>HTN00 00233G0000</KROBJ>
<BLSRTBL></BLSRTBL>
<RCAANDSR>0000000100000002</RCAANDSR>
<RCEINDDAT>J</RCEINDDAT>
<AREA>53952.3530000000000000</AREA>
<NAME>Doe, J. / Doe, A.</NAME>
<ADDRESS>SOMESTR 12 , 1234AB, SOMEWHERE</ADDRESS>
</percelen_feature>
</percelen_layer>
</msGMLOutput>


(Data scrambled for privacy protection)
My guess is that these little , and / are what cause the trouble. Has anyone ran into this before? And even better? Found a solution?
P.S. 2 By the way, I am not the creator of the GIS data....as a BSc. Geo-Informatics I am ashamed like.. for data like this.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to