[Geoserver-users] Application schema "nested" geometry

I have a problem with the complex feature mapping, where no attribute gets
recognised as "geometry" attribute. This is probably since the geometry is
nested within a complex attribute:

  <complexType name="GeographicPositionType">
    <sequence>
      <element name="geometry" type="gml:PointPropertyType">
        <annotation>
          <documentation>-- Definitio...</documentation>
        </annotation>
      </element>
...

Source: http://inspire.ec.europa.eu/schemas/ad/3.0/Addresses.xsd

On the other hand, mapping the GeographicalNames works ok, geometry gets
recognised, but in this case, the geometry is not nested:

<element name="geometry" type="gml:GeometryPropertyType">
            <annotation>
              <documentation>-- Definition...
</documentation>
            </annotation>
          </element>

Source: http://inspire.ec.europa.eu/schemas/gn/3.0/GeographicalNames.xsd

And with such Address mapping, the WFS works without problems but WMS fails
since no geometry could be found.

Is there any solution for such problem?

(feature chaining makes no difference)

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Application-schema-nested-geometry-tp5143703.html
Sent from the GeoServer - User mailing list archive at Nabble.com.