Hi Kevin, did you try to specify a <Geometry> element (see: http://docs.geoserver.org/stable/en/user/styling/sld/reference/polygonsymbolizer.html#geometry) in your SLD document, pointing to the nested property?
Taking GeoSciML's GeologicUnit as an example, could be something along these lines: <Geometry> <PropertyName>gsml:occurrence/gsml:MappedFeature/gsml:shape</PropertyName> </Geometry> I'm not 100% sure it will work, but may be worth a try ;-) Hope this helps, Stefano On Tue, Nov 29, 2016 at 10:19 PM, kweis...@harris.com <kweis...@harris.com> wrote: > Hello Ben, > > Thanks for the quick response. I see what you mean about the location of > the spatial element within the XML response structure. Most of our schemas > (which I do not control) bury it a few levels deep so I don't think the > app-schema plugin will work for us unfortunately. > > Thanks again for the help. > > Kevin M. Weiss > Software Engineer > CRITICAL NETWORKS / HARRIS CORPORATION > harris.com / kevin.we...@harris.com > > > -----Original Message----- > From: Ben Caradoc-Davies [mailto:b...@transient.nz] > Sent: Tuesday, November 29, 2016 3:01 PM > To: Weiss, Kevin <kweis...@harris.com>; geoserver-users@lists. > sourceforge.net > Subject: Re: [Geoserver-users] App-Schema WMS Support > > Kevin, > > I expect that this is caused by the feature of interest lacking a geometry > property at the top-level (an attribute in UML-speak). In the tutorial > example, MappedFeature has a geometry property, but GeologicUnit has only > an association with zero or more MappedFeatures that describe its location. > For example, a geologic unit might be mapped as several outcrops (the > gsml:occurrence association). Here is the UML from the GeoSciML 4.0 (the > older version in the tutorial is similar): > http://www.geosciml.org/geosciml/4.0/documentation/ > html/index.htm?goto=1:3:1:105 > > I expect app-schema WMS to work for types that have a top-level geometry > property. The WMS page also documents limitations on styling with > properties from referenced features. > > Kind regards, > Ben. > > On 30/11/16 09:09, kweis...@harris.com wrote: > > Hello all, > > I'm trying to enable WMS support on an app-schema feature per the > instructions here (http://docs.geoserver.org/latest/en/user/data/app- > schema/wms-support.html). The data is retrievable via WFS 2.0 requests, > but when I try to request the product via WMS the client receives a > ServiceExceptionReport stating that "Rendering process failed". Inspecting > the logs it appears to be resulting from a NullPointerException in > StreamingRenderer.java at line 2686. Moving up the stack I see a warn > message stating that a transform exception occurred when trying to > de-project the current envelope. It looks like it's trying to transform > the requested BBOX to a null projection. > > > > Naturally, I assumed I had screwed something up configuration-wise so I > imported the app-schema tutorial "gsml" workspace and restarted GeoServer > to test. Oddly enough, "gsml:MappedFeature" displays properly via WMS, but > "gsml:GeologicUnit" causes the same error I saw with my own app-schema > mappings. Has anyone else seen this behavior? Am I missing some > configuration value somewhere or is this something I should report via the > bug tracker? > > > > The issue was originally discovered using GeoServer 2.9.2, but was > replicated in our environment using GeoServer 2.10.0 as well (using the > appropriately versioned plugins of course). > > > > Thanks, > > > > Kevin M. Weiss > > Software Engineer > > CRITICAL NETWORKS / HARRIS CORPORATION harris.com / > > kevin.we...@harris.com > > > > > > ---------------------------------------------------------------------- > > -------- _______________________________________________ > > Geoserver-users mailing list > > Geoserver-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > > > -- > Ben Caradoc-Davies <b...@transient.nz> > Director > Transient Software Limited <http://transient.nz/> New Zealand > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Best regards, Stefano Costa == GeoServer Professional Services from the experts! Visithttp://goo.gl/it488V for more information. == Dott. Stefano Costa Senior Software Engineer GeoSolutions S.A.S.Via di Montramito 3/A 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.ithttp://twitter.com/geosolutions_it ------------------------------------------------------- AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users