[Mapserver-inspire] WFS, GML output, geometry mapping

Erik Gustafson gustafson.erik at gmail.com
Fri Dec 13 08:57:14 PST 2013


Hello list,

I'm trying to setup Mapserver to serve Inspire Addresses with WFS 2.0
(thanks for the new work on wfs 2.0!), but there is one part failing
for me.
The XML according to
http://inspire.ec.europa.eu/schemas/ad/3.0/Addresses.xsd should be
looking something like this:

<ad:Address>
    <ad:inspireId>
        <base:Identifier>
            <base:localId/>
            <base:namespace/>
       </base:Identifier>
    </ad:inspireId>
    <ad:position>
        <ad:GeographicPosition>
            <ad:geometry>INSERT GML GEOMETRY HERE</ad:geometry>
            <ad:specification></ad:specification>
            <ad:method></ad:method>
            <ad:default></ad:default>
        </ad:GeographicPosition>
    </ad:position>
    <ad:locator>
        <ad:AddressLocator>
            <ad:level/>
        </ad:AddressLocator>
    </ad:locator>
    <ad:validFrom/>
    <ad:beginLifespanVersion/>
    <ad:component/>
</ad:Address>


The problem is that I can't find a way to define where in the XML to
insert the Geomtry.I want to tell mapserver to put the geometry inside
the ad:GeographicPosition-element.
The other parts of the hierarchical XML seems possible so far...


Any ideas how to insert the gml-geometry?

Is anyone else using Mapserver för Inspire WFS?

regards
Erik Gustafson


More information about the Mapserver-inspire mailing list