fid in WFS Client (query templates)

Miguel Coladas mcoladas at TELEFONICA.NET
Sun Nov 26 06:03:38 EST 2006


Hello List,
I can not get the fid atribute with template query with MapServer in CGI.
I have a layer with data from a WFS Server. Before, in GML file, fid was 
a id atribute:

<gml:featureMember>
        <miprefijo:provincias>
            <miprefijo:id>10</miprefijo:id>
            <miprefijo:ine_prov>36</miprefijo:ine_prov>
        </miprefijo:provincias>
</gml:featureMember>

and I get it with a template as:

<data>
    <id>[miprefijo:id]</id>
    <ine_prov>[miprefijo:ine_prov]</ine_prov>
</data>

but now the GML is:

<gml:featureMember>
        <miprefijo:provincias fid="provincias.4">
            <miprefijo:ine_prov>36</miprefijo:ine_prov>
        </miprefijo:provincias>
</gml:featureMember>

and i can not get it. is possible?

My MapServer version is 4.8.3, and by the bug 1946 I can not update it.

Best regards,
    Miguel



More information about the mapserver-users mailing list