geoserver-users

Hi, I was trying to do something, but I don't know if it's possible, so I
wanted to ask first to not waste more time.
I was trying to create a GS layer from a WSF GetCapabilities Doc, which I've
created in a PHP service. I created the GetCapabilities and GetFeatures
documents. I've tried to read the GetFeatures gml from OpenLayers and it
worked fine, drawing all the points in the map, but I don't know if I can
create a WSF data store by this way, I got more than 100 errors trying, but
I don't know if I am doing something wrong or it's not possible.
Thank you so much! I hope you can help me...
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Creating-Geoserver-Layer-from-custom-WFS-tp5076277.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

On Thu, Sep 5, 2013 at 6:12 PM, beldar15 <beldar15@...> wrote:
> Hi, I was trying to do something, but I don't know if it's possible, so I
> wanted to ask first to not waste more time.
>
> I was trying to create a GS layer from a WSF GetCapabilities Doc, which
> I've
> created in a PHP service. I created the GetCapabilities and GetFeatures
> documents. I've tried to read the GetFeatures gml from OpenLayers and it
> worked fine, drawing all the points in the map, but I don't know if I can
> create a WSF data store by this way, I got more than 100 errors trying, but
> I don't know if I am doing something wrong or it's not possible.
>
GeoServer needs a compliant WFS server to cascade. At the very minimum you
have to add support for the DescribeFeatureType call as well.
Not sure however how much more work it will be to make it compliant enough
so that GeoServer can cascade it
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.ithttp://twitter.com/geosolutions_it
-------------------------------------------------------

I created a Workspace, the a POSTGIS store and I created a layer. Everything
worked well and fine, until that point. Then, I've used that GetCapabilities
document, but I changed the GetFeature Path on it (the online resource). But
it don't worked. So, it is possible? It can be done? or I'm wasting my time?
here's an example of what I've done:
Thank you very much!
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Creating-Geoserver-Layer-from-custom-WFS-tp5076277p5076288.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Ok, I created the three archives, GetCapabilities, DescribeFeatureType and
GetFeatures. I pointed in the GetCapabilities to their respective class. But
no, it doesn't work. I keeps thowing me the same error. I don't know if this
could be possible, I edited every single path that may be wrong or non
existant, but it doesn't work.. Any other ideas? Please! I don't know what
may be wrong... :(
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Creating-Geoserver-Layer-from-custom-WFS-tp5076277p5076325.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

On Thu, Sep 5, 2013 at 9:20 PM, beldar15 <beldar15@...> wrote:
> Ok, I created the three archives, GetCapabilities, DescribeFeatureType and
> GetFeatures. I pointed in the GetCapabilities to their respective class.
> But
> no, it doesn't work. I keeps thowing me the same error. I don't know if
> this
> could be possible, I edited every single path that may be wrong or non
> existant, but it doesn't work.. Any other ideas? Please! I don't know what
> may be wrong... :(
>
No idea, you're giving us nothing to go on.
First, take a schema validator and check if the documents you're generating
are schema valid.
Second, once they are, share the GeoServer logs generated when trying to
connect to your WFS server (enable the "geotools developer" logging profile
before doing so) and that might give us some pointers
Generally speaking, writing a valid WFS server is no picnic, it's an
endevour
taking several days of work, even in the simplest case where you just serve
a fixed set of hard-coded feature types.
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.ithttp://twitter.com/geosolutions_it
-------------------------------------------------------

Hi all i have a doubt, i need to establish a wms cascading , but i have
a trouble, my internet conection is behind a web proxy, thta have
username, password,url and port, and i need that geoserver understand
that, and use the other wms service using the proxy, in what file i have
to put and what i have to put where incase that i uase geoserver 2.3.2
in windows, please i need that hand, thanks to all.
--
Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas
Infomed: http://www.sld.cu/

Hi Andrea,
Thanks for the reply! Yes I've added &version=2.0.0, and as I said it
works for other elements like PropertyIsLike and PropertyIsEqualTo, but
for this spatial filter it does not work.
Here's the stack trace from geoserver log:
2013-09-10 14:36:26,428 ERROR [geoserver.ows] -
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.geotools.xml.EMFUtils.set(EMFUtils.java:333)
at
org.geoserver.wfs.kvp.GetFeatureKvpRequestReader.querySet(GetFeatureKvpRequestReader.java:474)
at
org.geoserver.wfs.kvp.GetFeatureKvpRequestReader.read(GetFeatureKvpRequestReader.java:209)
at
org.geoserver.wfs.kvp.v2_0.GetFeatureKvpRequestReader.read(GetFeatureKvpRequestReader.java:39)
at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1412)
at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:622)
at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:263)
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.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
at
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
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:72)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at
org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:82)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at
org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:52)
at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at
org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:134)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:48)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:47)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
On 9/10/2013 2:33 PM, Andrea Aime wrote:
> On Tue, Sep 10, 2013 at 1:50 PM, Nhan Vo <nhanvo@...
> <mailto:nhanvo@...>> wrote:
>
> I've done the same thing in URLs with other filter 2.0 elements like
> PropertyIsLike and PropertyIsEqualTo and they work for me. Could
> someone
> give me a hint? Thanks!
>
>
> Making a guess here, did you remember to add &version=2.0 in your
> request URL?
>
> Cheers
> Andrea
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for
> more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39 339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
--
*Thanh-Trong-Nhan Vo*
smile consult GmbH
Vahrenwalder Straße 4
D-30165 Hannover
Tel:
0511/543617-46
Fax:
0511/543617-66
Mail:
nhanvo@... <mailto:nhanvo@...>
Internet:
http://www.smileconsult.de <http://www.smileconsult.de/&gt;
Geschäftsführer: Frank Sellerhoff .Peter Milbradt .Christoph Lippert
USt-IdNr.: DE208857046 .Amtsgericht Hannover HRB 58707