On 03/11/16 21:53, Stefano Costa wrote: > On Wed, Nov 2, 2016 at 3:42 PM, Nuno Oliveira < > nuno.olive...@geo-solutions.it> wrote: >> Stefano I tried to find the discussion you refer on the mailing lists but >> could not find it, better I found to much information >> about this, can you pass me the link :) > Take a look at this one: > http://osgeo-org.1560.x6.nabble.com/App-schema-How-to-map-Oracle-Geometry-into-GML-td4984781.html > It is about a slightly different issue, i.e. how to create bindings for > custom geometry types, but GML structural rules are also mentioned and > explained by Ben. > I recall there are others, but I don't have the links handy right now.
Nuno, here is the discussion from May, which looks like a similar problem with CityGML generics: http://osgeo-org.1560.x6.nabble.com/Problems-with-CityGML-and-application-schema-td5265622.html See section 7.1.1 on page 20-21 (PDF page 30-31) of the GML 3.2.1 standard (OGC 07-036): http://portal.opengeospatial.org/files/?artifact_id=20509 Schemas that do not conform these GML encoding rules are not GML application schemas and, as such, not supported by app-schema. These rules are central to support for polymorphism, extensibility, and object identity. Nuno, the change you made (adding MeasurementPropertyType) was the right solution. Nuno wrote: >> This stations use case is just an example, I have a much more complex use case with the same problem were I cannot change the schema. What is the big unchangeable schema? Has this problem been reported to the maintainers of that schema? Kind regards, -- Ben Caradoc-Davies <b...@transient.nz> Director Transient Software Limited <http://transient.nz/> New Zealand ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel