Matic, app-schema WMS should work, but because the built-in styles and GetFeatureInfo support are focussed on supporting simple features, you may need to supply your own styles and freemarker templates to support your complex feature types. See the examples here: http://docs.geoserver.org/latest/en/user/data/app-schema/wms-support.html
Kind regards, Ben. On 17/02/15 23:02, Feniks wrote: > Hey. > > I have a question regarding showing complex features with WMS. I created > some complex features that are chained together. These are shown nicely with > WFS but with WMS, well there are some complications. > > - One of the problems is when you click on a point to show its information, > there are alot of empty fields (metaDataProperty, description, > descriptionReference, identifier, name, boundedBy and location). As far as I > checked, this is because of <extension base="gml:AbstractFeatureType"> in > the XML schema, but without this extension the complex features do not work. > So the question for this is, do I need to use a different extension (so > something else than gml:AbstractFeatureType), or is it possible to somehow > disable these fields to not be shown in WMS. > > - The last problem is with styling. Simple definition of style, like color, > size, etc... seem to work. Something like adding a name to be shown at the > point ends with this error "The requested Style can not be used with this > layer. The style specifies an attribute of name and the layer is: > tst:complexfeature" > > With some searching on the forum I found this > http://osgeo-org.1560.x6.nabble.com/Application-schema-and-WMS-td3795248.html > <http://osgeo-org.1560.x6.nabble.com/Application-schema-and-WMS-td3795248.html> > . I know it's and old thread but are complex features still more ore less > only for WFS? > > Thanks for the help. > > Regards, > Matic > > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/WMS-with-complex-features-tp5188070.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Ben Caradoc-Davies <[email protected]> Software Engineer Transient Software <http://transient.nz> New Zealand ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
