Re: [Geoserver-users] Schemaless WFS spatial queries in GeoServer ?
Adding the list into the loop Cheers Andrea Il 19/ago/2015 21:52, "Andrea Aime" ha scritto: > Going by memory, GeoServer internally represents the "default geometry" > as an empty string, so you may want to try a property name without content, > or one with an empty CDATA section in place of the name. Let us know if any > of that works > > Cheers > Andrea > Il 19/ago/2015 20:11, "Martin Davis" ha scritto: > >> The WFS spec supports "schemaless" (or perhaps "anonymous" spatial >> queries against featuretypes via the BBOX parameter. But if a more complex >> query geometry is required (e.g. polygon), it's necessary to create a >> Filter, which then needs to have the spatial propertyname provided. >> >> This means that clients need more metadata about featuretype schemas to >> do polygon queries. This seems a bit inconsistent, since presumably the >> server mechanism can handle schemaless queries (since it can support BBOX). >> >> I suspect I know the answer to this, but I'll ask it anyway... Is there >> any extension in GeoServer that supports WFS queries with a polygonal query >> geometry WITHOUT requiring a property name? >> >> >> -- >> >> ___ >> Geoserver-users mailing list >> Geoserver-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> >> -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Schemaless WFS spatial queries in GeoServer ?
Not sure I understand... I think I want to do something that is outside the spec, and am wondering if GS has a way to do it. So not sure how the CITE test will help? GetFeatureInfo is not an option, since we need to query by a polygon. On Wed, Aug 19, 2015 at 9:21 PM, Jody Garnett wrote: > This is the kind of thing the CITE tests hit, so you can try enabling CITE > mode on your WFS and and using something like > . - which should check against all geometry > attributes in a feature. > > Other than that I would recommend using GetFeatureInfo and asking it to > return GML. > > -- > Jody Garnett > > On 19 August 2015 at 13:04, Martin Davis wrote: > >> The WFS spec supports "schemaless" (or perhaps "anonymous" spatial >> queries against featuretypes via the BBOX parameter. But if a more complex >> query geometry is required (e.g. polygon), it's necessary to create a >> Filter, which then needs to have the spatial propertyname provided. >> >> This means that clients need more metadata about featuretype schemas to >> do polygon queries. This seems a bit inconsistent, since presumably the >> server mechanism can handle schemaless queries (since it can support BBOX). >> >> I suspect I know the answer to this, but I'll ask it anyway... Is there >> any extension in GeoServer that supports WFS queries with a polygonal query >> geometry WITHOUT requiring a property name? >> >> >> -- >> >> ___ >> Geoserver-users mailing list >> Geoserver-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> >> > -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Schemaless WFS spatial queries in GeoServer ?
Il 19/ago/2015 23:34, "Martin Davis" ha scritto: > > Well, that seems to work, by simply omitting content from the element. > > So next questions: Is this a stable feature of GeoServer? And if it should probably be documented somewhere? (In the Filter pages perhaps - although does this work in SLDs as well?) Has been there for a long time, I guess we could document it. > Also, did you want to share this with the list? Yep... sorry, answering from tablet, did not notice I was not replying to all Cheers Andrea -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Schemaless WFS spatial queries in GeoServer ?
This is the kind of thing the CITE tests hit, so you can try enabling CITE mode on your WFS and and using something like . - which should check against all geometry attributes in a feature. Other than that I would recommend using GetFeatureInfo and asking it to return GML. -- Jody Garnett On 19 August 2015 at 13:04, Martin Davis wrote: > The WFS spec supports "schemaless" (or perhaps "anonymous" spatial queries > against featuretypes via the BBOX parameter. But if a more complex query > geometry is required (e.g. polygon), it's necessary to create a Filter, > which then needs to have the spatial propertyname provided. > > This means that clients need more metadata about featuretype schemas to do > polygon queries. This seems a bit inconsistent, since presumably the server > mechanism can handle schemaless queries (since it can support BBOX). > > I suspect I know the answer to this, but I'll ask it anyway... Is there > any extension in GeoServer that supports WFS queries with a polygonal query > geometry WITHOUT requiring a property name? > > > -- > > ___ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Schemaless WFS spatial queries in GeoServer ?
The WFS spec supports "schemaless" (or perhaps "anonymous" spatial queries against featuretypes via the BBOX parameter. But if a more complex query geometry is required (e.g. polygon), it's necessary to create a Filter, which then needs to have the spatial propertyname provided. This means that clients need more metadata about featuretype schemas to do polygon queries. This seems a bit inconsistent, since presumably the server mechanism can handle schemaless queries (since it can support BBOX). I suspect I know the answer to this, but I'll ask it anyway... Is there any extension in GeoServer that supports WFS queries with a polygonal query geometry WITHOUT requiring a property name? -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Error Loading SLD in geoserver 2.7.2
Thanks JukkaThat made me look at the path and I realised that I had to change the name of the uploaded file. After validating I left the default file name, which was the full path it had come from, this created the error. Changing the name before submitting loads the style file perfectly. Hope that makes sensePaul Paul Hardingpaul.hard...@dundeecity.gov.uk-"Rahkonen Jukka (MML)" wrote: - To: "paul.hard...@dundeecity.gov.uk" , "Geoserver-users@lists.sourceforge.net" From: "Rahkonen Jukka (MML)" Date: 08/19/2015 01:05PMSubject: Re: [Geoserver-users] Error Loading SLD in geoserver 2.7.2 Hi, The real error is in ” Contains invalid E:\Programmes\GeoServer 2.7.2\data_dir\styles\giant_polygon.sld path: “. I don’t know what triggers it. Does the path exist? Spaces in path and file names make often trouble so that’s also one thing to test. -Jukka Rahkonen- paul.harding wrote: HiI'm new to geoserver and just experimenting with it at the moment. I have tried loading new style SLD files but continually get error messages. They validate successfully and I can see the Legend Preview but when I click submit a long error message appears. This happens with both SLD's I have created in QGIS and also existing ones from the Data Directory. This is the message it throws out (sorry it's a bit long!) org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = form]] threw an exception at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:193) at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484) at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75) at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92) at org.springframework.security.web.FilterChainProxy$VirtualFilterChai
Re: [Geoserver-users] Error Loading SLD in geoserver 2.7.2
Hi, The real error is in ” Contains invalid E:\Programmes\GeoServer 2.7.2\data_dir\styles\giant_polygon.sld path: “. I don’t know what triggers it. Does the path exist? Spaces in path and file names make often trouble so that’s also one thing to test. -Jukka Rahkonen- paul.harding wrote: Hi I'm new to geoserver and just experimenting with it at the moment. I have tried loading new style SLD files but continually get error messages. They validate successfully and I can see the Legend Preview but when I click submit a long error message appears. This happens with both SLD's I have created in QGIS and also existing ones from the Data Directory. This is the message it throws out (sorry it's a bit long!) org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = form]] threw an exception at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:193) at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484) at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75) at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92) at org.springframew
[Geoserver-users] Error when deleting style
Hey All, So I've been getting this repeatedly. Platform; linux ubuntu 14.04 LTS geoserver 2.7.2 tomcat 7 I create a new workspace, store and layer (say, shapefile based), publish it with default style. Create new style, change layer config to change default style. Then I delete the workspace in which that layer is. Then when I try and delete the style I get a null pointer exception. (see top of stack trace below). Is this a known issue? Thanks Toby java.lang.NullPointerException at com.sun.proxy.$Proxy6.equals(Unknown Source) at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:146) at com.sun.proxy.$Proxy6.equals(Unknown Source) at org.geotools.filter.IsEqualsToImpl.evaluateInternal(IsEqualsToImpl.java:84) at org.geotools.filter.MultiCompareFilterImpl.evaluate(MultiCompareFilterImpl.java:68) at org.geotools.filter.OrImpl.evaluate(OrImpl.java:41) at org.geoserver.catalog.impl.DefaultCatalogFacade$1.apply(DefaultCatalogFacade.java:1194) at org.geoserver.catalog.impl.DefaultCatalogFacade$1.apply(DefaultCatalogFacade.java:1190) -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Error Loading SLD in geoserver 2.7.2
HiI'm new to geoserver and just experimenting with it at the moment. I have tried loading new style SLD files but continually get error messages. They validate successfully and I can see the Legend Preview but when I click submit a long error message appears. This happens with both SLD's I have created in QGIS and also existing ones from the Data Directory. This is the message it throws out (sorry it's a bit long!) org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = form]] threw an exception at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:193) at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484) at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75) at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73) at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323) at org.geoserver.security.filter.GeoServerCompositeFilte