Deen,

have you considered creating a thin wrapper application schema that 
defines new types that extend CityGML types by adding the properties you 
need? Some other application schemas also support simple extensibility 
by adding properties of xs:anyType with minOccurs="0". One of these 
approaches may suffice for your needs; extending types is more robust.

The underlying problem is that clients will need to understand the XML. 
While generics.xsd will let you encode arbitrary XML, it does not say 
what these properties mean.

Kind regards,
Ben.

On 19/05/16 08:04, Deen wrote:
> Hello Ben,
> sorry that late to reply, actually we are preparing for a CityGML change
> request. In the project we are using our python code for clients to import
> and export CityGML data from 3d CityDB, but right now we want to upgrade our
> project and provide WFS for the clients. 3d CityDB offers also the WFS
> interface, howerver, it is Simple WFS (free version), which is not enough to
> satisfy our need. Since we do have Geoserver running on our server, I was
> asked to run some tests with app-schema to see if it can serve the CityGML
> with a standard format via Geoserver WFS, before we buy the commercial one
> or start coding the WFS by ourselves. Two weeks ago, mapping the surface
> geometry such as "WallSurface" and "GroundSurface" to the "Building" ran
> quite well for me,  I thought that mapping generic attributes and appearance
> would do the same tricks. As
> you suggested, the "generic.xsd" violates the GML encoding rule and these
> types should be carefully used, but somehow this piece of information is
> needed for us. it seems to me now, the app-schema is probably not the
> solution we are looking for. But anyway, big thanks for your help!
>
> Kind Regards
> Deen

-- 
Ben Caradoc-Davies <[email protected]>
Director
Transient Software Limited <http://transient.nz/>
New Zealand

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to