Re: [Geoserver-users] Point markers that straddle tiles
On Tue, May 29, 2012 at 11:55 PM, Michael Romero mrom...@forwardslope.com wrote: The link that Edward referred to mentions meta tiles in GeoServer hard coded to 3x3. Does this mean that GeoServer (not using GWC) creates meta tiles for all WMS requests? No, GeoServer creates 3x3 meta tiles only if the request has tiled=true and the size of the image is 256x256. The sliced meta tile is kept in memory for a short time and then thrown away (since the mechanism does not require any specific grid alignment, any client can end up doing different requests). Cheers Andrea -- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Rendering failed for GeoTiff layer with ColorMap styling on GS 2.1
Hi Simone, is there any possibility to apply a ColorMap to each single channel? I have got a SID-Image with 3 bands and a big fat black edging. I want to set each´s band values 0 to 5 as transparent. Is there any possibility to style the image this way? Thank you Tobias -Ursprüngliche Nachricht- Von: Simone Giannecchini [mailto:simone.giannecch...@geo-solutions.it] Gesendet: Mittwoch, 14. März 2012 17:13 An: Dominik Affolter Cc: geoserver-users@lists.sourceforge.net Betreff: Re: [Geoserver-users] Rendering failed for GeoTiff layer with ColorMap styling on GS 2.1 Ciao Dominik, quick hint, although you are not showing the entire exception, I believe the style is not correct. You cannot apply the ColorMap element when having 3 bands, you need only 1. Regards, Simone Giannecchini --- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/simonegiannecchini http://twitter.com/simogeo --- On Wed, Mar 14, 2012 at 4:12 PM, Dominik Affolter d1affol...@netscape.net wrote: I have the same problem with the following configuration: Ubuntu 10.04.4 LTS JVM Version 1.6.0_31 (Java HotSpot(TM) 64-Bit Server VM) Apache Tomcat/6.0.24 Geoserver Version 2.1-SNAPSHOT Here is the Error Code: 2012-03-14 15:39:36,297 ERROR [geoserver.ows] - org.geoserver.platform.ServiceException: Error rendering coverage on the fast path at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(Rendered ImageMapOutputFormat.java:334) at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(Rendered ImageMapOutputFormat.java:250) at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(Rendered ImageMapOutputFormat.java:125) at org.geoserver.wms.GetMap.run(GetMap.java:374) at org.geoserver.wms.GetMap.run(GetMap.java:107) at org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.jav a:353) at sun.reflect.GeneratedMethodAccessor247.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflectio n(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoi npoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(R eflectiveMethodInvocation.java:149) at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWeb MapService.java:60) at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWeb MapService.java:34) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(R eflectiveMethodInvocation.java:171) at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService .java:73) at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService .java:40) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(R eflectiveMethodInvocation.java:171) at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger. java:51) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(R eflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamic AopProxy.java:204) at $Proxy31.getMap(Unknown Source) at sun.reflect.GeneratedMethodAccessor213.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:630) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:234 ) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(A bstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.han dle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatche rServlet.java:875) at org.springframework.web.servlet.DispatcherServlet.doService(Dispatcher Servlet.java:809) at org.springframework.web.servlet.FrameworkServlet.processRequest(Framew orkServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServle t.java:501) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
[Geoserver-users] ImageMosaic
Hello all, I have installed the same geoserver (2.1.3) in two different windows machines. For both, i have also installed the imagemosaic plugin. The strange thing is that, in one of the machines i can create imagemosaic stores through pointing to the raster (which are tif wwith tfw and prj files) folder (shpapefile and properties files are created) but in the other geoserver with the same files i'm always getting the error Unable to acquire a reader for this coverage with format: ImageMosaic. Geoserver is not able to create nor the shapefile neither the properties file. The installation procedure was exactly the same and even the files were the same. Below is what i can see in the log file. What might be the issue here? Thanks, Hugo 2012-05-30 10:22:29,492 WARN [imagemosaic.ImageMosaicFormat] - This plugin accepts File, URL or String. The string may describe a File or an URL org.geotools.data.DataSourceException: This plugin accepts File, URL or String. The string may describe a File or an URL at org.geotools.gce.imagemosaic.ImageMosaicReader.initReaderFromURL(ImageMosaicReader.java:232) at org.geotools.gce.imagemosaic.ImageMosaicReader.init(ImageMosaicReader.java:194) at org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:436) at org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:104) at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:988) at org.geoserver.catalog.CatalogBuilder.buildCoverage(CatalogBuilder.java:808) at org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:82) at org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:225) at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:509) at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.init(GeoServerTablePanel.java:502) at org.geoserver.web.wicket.GeoServerTablePanel.init(GeoServerTablePanel.java:200) at org.geoserver.web.wicket.GeoServerTablePanel.init(GeoServerTablePanel.java:91) at org.geoserver.web.data.layer.NewLayerPage$1.init(NewLayerPage.java:107) at org.geoserver.web.data.layer.NewLayerPage.init(NewLayerPage.java:104) at org.geoserver.web.data.store.CoverageStoreNewPage.onSave(CoverageStoreNewPage.java:71) at org.geoserver.web.data.store.AbstractCoverageStorePage$1.onSubmit(AbstractCoverageStorePage.java:114) at org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:68) at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119) 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:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158) 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:875) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 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:23) 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)
Re: [Geoserver-users] ImageMosaic
Forgot to mention that, if i copy the shapefile ann properties file from the geoserver in which imagemosaic is working well to the other geoserver and then use that file to create the imagemosaic store, then all goes well. On Wed, May 30, 2012 at 10:23 AM, Hugo hfpmart...@gmail.com wrote: Hello all, I have installed the same geoserver (2.1.3) in two different windows machines. For both, i have also installed the imagemosaic plugin. The strange thing is that, in one of the machines i can create imagemosaic stores through pointing to the raster (which are tif wwith tfw and prj files) folder (shpapefile and properties files are created) but in the other geoserver with the same files i'm always getting the error Unable to acquire a reader for this coverage with format: ImageMosaic. Geoserver is not able to create nor the shapefile neither the properties file. The installation procedure was exactly the same and even the files were the same. Below is what i can see in the log file. What might be the issue here? Thanks, Hugo 2012-05-30 10:22:29,492 WARN [imagemosaic.ImageMosaicFormat] - This plugin accepts File, URL or String. The string may describe a File or an URL org.geotools.data.DataSourceException: This plugin accepts File, URL or String. The string may describe a File or an URL at org.geotools.gce.imagemosaic.ImageMosaicReader.initReaderFromURL(ImageMosaicReader.java:232) at org.geotools.gce.imagemosaic.ImageMosaicReader.init(ImageMosaicReader.java:194) at org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:436) at org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:104) at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:988) at org.geoserver.catalog.CatalogBuilder.buildCoverage(CatalogBuilder.java:808) at org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:82) at org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:225) at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:509) at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.init(GeoServerTablePanel.java:502) at org.geoserver.web.wicket.GeoServerTablePanel.init(GeoServerTablePanel.java:200) at org.geoserver.web.wicket.GeoServerTablePanel.init(GeoServerTablePanel.java:91) at org.geoserver.web.data.layer.NewLayerPage$1.init(NewLayerPage.java:107) at org.geoserver.web.data.layer.NewLayerPage.init(NewLayerPage.java:104) at org.geoserver.web.data.store.CoverageStoreNewPage.onSave(CoverageStoreNewPage.java:71) at org.geoserver.web.data.store.AbstractCoverageStorePage$1.onSubmit(AbstractCoverageStorePage.java:114) at org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:68) at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119) 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:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158) 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:875) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at
Re: [Geoserver-users] Geoserver 2.2 beta 1 JDBC authentication
Hi Hugo, If you download beta 2, the jdbc stuff should work. I am looking forward to your feedback. Christian Zitat von Hugo hfpmart...@gmail.com: Hi Christian, Thnaks a lot for your quick answers. I'll be waiting for the nightly build to do further testing to these fantastic new features. Cheers, Hugo On Tue, May 1, 2012 at 3:36 PM, christian.muel...@nvoe.at wrote: Hi Hugo, please stay on the mailing list. Other users may have this problems too. My patch is almost ready. I will publish it today and another developer will do a review. I fixed a lot of issues and retried your use case: - using postgres for a role service - using postgres for a user group service (empty password encoder) - using postgres to authenticate using a jdbc connect I added a user postgres with no password and assigned the ROLE_ADMINISTRATOR to this user. I could successfully login as administrator. I did a geoserver restart and it works well after restart. After my colleague did the review we will commit the changes. At the moment, please make a break, I will ping you when you can download a nightly build for further testing. Thanks for your support. Christian --**--** This message was sent using IMP, the Internet Messaging Program. -- Hugo Martins This message was sent using IMP, the Internet Messaging Program. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Rendering failed for GeoTiff layer with ColorMap styling on GS 2.1
On Wed, May 30, 2012 at 9:22 AM, Neumann, Tobias tobias.neum...@berner-mattner.com wrote: Hi Simone, is there any possibility to apply a ColorMap to each single channel? I have got a SID-Image with 3 bands and a big fat black edging. I want to set each´s band values 0 to 5 as transparent. Is there any possibility to style the image this way? Not with the current code, and with standard SLD. We would need to add extensions to SLD to support multiband color maps (that would be odd, since they would be value maps, not color maps, that is, each band getting a new value), and then code support for that On trunk the problem could be addressed also by writing a WPS process that changes the values of the various bands, and then using it in SLD as a rendering transformation Cheers Andrea -- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Cascading WMS problem with PNOA service. v2.1.3
My application has been successfully using the following service for some months via cascading WMS. www.idee.es/wms/PNOA/PNOA?Request=GetCapabilitiesService=WMS As a client has reported problems with the layer, I've tried to delete and add back the store but get the following error. I can add and cascade other services without problems. 30 May 12:10:51 ERROR [wicket.RequestCycle] - Exception 'java.lang.IllegalArgumentException: Value of variable [[error]] could not be resolved while interpolating [[Connection test failed: ${error}]]' occurred during validation org.geoserver.web.data.store.WMSStoreNewPage$WMSCapabilitiesURLValidator on component 68:form:capabilitiesURL:border:paramValue org.apache.wicket.WicketRuntimeException: Exception 'java.lang.IllegalArgumentException: Value of variable [[error]] could not be resolved while interpolating [[Connection test failed: ${error}]]' occurred during validation org.geoserver.web.data.store.WMSStoreNewPage$WMSCapabilitiesURLValidator on component 68:form:capabilitiesURL:border:paramValue at org.apache.wicket.markup.html.form.FormComponent.validateValidators(FormComponent.java:1622) at org.apache.wicket.markup.html.form.FormComponent.validate(FormComponent.java:1201) at org.apache.wicket.markup.html.form.Form$23.validate(Form.java:2161) at org.apache.wicket.markup.html.form.Form$ValidationVisitor.formComponent(Form.java:173) at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:441) at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428) at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428) at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:428) at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrder(FormComponent.java:400) at org.apache.wicket.markup.html.form.Form.visitFormComponentsPostOrder(Form.java:1233) at org.apache.wicket.markup.html.form.Form.validateComponents(Form.java:2153). -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Cascading-WMS-problem-with-PNOA-service-v2-1-3-tp4977996.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] ImageMosaic
Hello, Indeed Andrea. I was confusing image mosaic jdbc plugin with image mosaic shipped with geoserver. My problem was, as you referred linked with permissions in folder. Thanks a lot, Hugo On Wed, May 30, 2012 at 10:48 AM, Andrea Aime andrea.a...@geo-solutions.itwrote: On Wed, May 30, 2012 at 11:23 AM, Hugo hfpmart...@gmail.com wrote: Hello all, I have installed the same geoserver (2.1.3) in two different windows machines. For both, i have also installed the imagemosaic plugin. The strange thing is that, in one of the machines i can create imagemosaic stores through pointing to the raster (which are tif wwith tfw and prj files) folder (shpapefile and properties files are created) but in the other geoserver with the same files i'm always getting the error Unable to acquire a reader for this coverage with format: ImageMosaic. Geoserver is not able to create nor the shapefile neither the properties file. The installation procedure was exactly the same and even the files were the same. Below is what i can see in the log file. What might be the issue here? You.. .installed the imagemosaic plugin? The plugin is built-in, there is no need to install it, and there is actually no plugin in the download section, unless you're mistaking it for the JDBC mosaic plugin, which assumes the tiles are stored in a dbms. Anyways, there may be different reasons: - on the second machine the directory is not writable by the user running GeoServer - on the second machine you're referring to a network path, like \\host\folder, that Java does not support as a valid path Cheers Andrea -- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob:+39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf -- Hugo Martins -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] on-the-fly datasource registration after trying Geoserver Views
hello, I have a table with a structure like this: geom_field data_field geometry1 data1+100||data2+300||data3+200 geometry2data1+100||data2+500 I want users to interactively filter data_field containing data2 (for example) and get it symbolized according it's number (300) What first came in mind is to parse the request in server-side and insert the results in a new temporal table or view. The same applies for a new SLD (containing Filter with data2 and Symbology depending on the new field in this new table) Then I discovered Geoserver SQL Views, where I can do something like select the_geom, data from mytable where data ilike '%param%' It works fine to get the geometry, but the big problem is the symbolization of each geometry. Even if I create the SLD server-side (exploding the data_field and retrieveng 300 and 500 for data2) , the problem remains because of evident reasons (just to start, GeoServer cannot read data_field as a number). So, if nobody can see beyond I think I should discard this solution... I can easily create a CSV (and/or .shp) at each request. But I absolutely have to create the datasource in Geoserver before trying to visualize it, right? if you think this can be a good solution, how can I do it on the fly (i mean the registration of this new datasource)? will it keep performant at multiple requests? it makes sense? thanks in advance, Pere -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Problems in wms request by openlayers
Hi all,I'm still in trouble, with almost the same problem. I resume you:I have 2 servers: in s1 I've installed geoserver, in s2 I have an HTML page which calla a WMS from s1-geoserver.Just a detail, I don't know if it's important: geoserver (or better Tomcat) listens over :8181 port, since :80 is for Apache and :8080 if for Oracle XE. The problem NOW is that I can't obtain answer when I request a GetFeatureInfo. Now I can only see and zoom the map when I call the WMS service with GetMap. I've been advised about cross-domain-request issue as possible cause of error, but I'm not sure. In fact it doesn't work neither moving the HTML page on the s1 server, which is in the same domain of the geoserver service! Or am I wrong thinking so? GetFeatureInfo works only if I click on the layer preview map image, created directly from admin geoserver panel. My GetFeatureInfo parameters seem to be correct, in fact it works if I write them directly in the browser, and the answer is ok. Thank you very much for any helpful tip. If you need more detail, ask, please ask. Any idea about?Anyone has a solution or an advice? Regards, Carlo -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Problems with WMS standard compliance in GeoServer
Good day, During working with GeoServer I've experienced the following problem: when testing the compliance with the WMS 1.1 standard (via the online tests available at http://cite.opengeospatial.org/teamengine/), all tests are failed. One of the errors I received looks like this: Log for test s0012/d207e988_1 Test wms:wmsops-getcapabilities-params-version-2 (s0012/d207e988_1) Assertion: When a GetCapabilities request is made for a supported version other than [[VAR_WMS_VERSION]] using WMTVER instead of VERSION, then the version returned is the version requested. Request d207e3521_1: Method: get URL: ReQuEsT=GetCapabilitiesSeRvIcE=WMSVeRsIoN=0.0.0 Error in call to extension function {public org.w3c.dom.NodeList com.occamlab.te.TECore.request(org.w3c.dom.Document,java.lang.String) throws java.lang.Throwable}: Exception in extension function java.net.MalformedURLException: no protocol: ?ReQuEsT=GetCapabilitiesSeRvIcE=WMSVeRsIoN=0.0.0 Result: Failed I've tried to set miscellaneous test settings but without success. So, my testing environment is: MS Windows 7 EN (32 bit) GeoServer ver. 2.1.3 (32 bit), installed as a Windows service Any help would be greatly appreciated! Thanks, Maxim K. Senior Software Developer in GeoCybernetics Inc. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Problems in wms request by openlayers
On 30 May 2012 14:38, Carlo Pelliconi muflone.bia...@libero.it wrote: Hi all, I'm still in trouble, with almost the same problem. I resume you: I have 2 servers: in s1 I've installed geoserver, in s2 I have an HTML page which calla a WMS from s1-geoserver. Just a detail, I don't know if it's important: geoserver (or better Tomcat) listens over :8181 port, since :80 is for Apache and :8080 if for Oracle XE. The problem NOW is that I can't obtain answer when I request a GetFeatureInfo. Now I can only see and zoom the map when I call the WMS service with GetMap. I've been advised about cross-domain-request issue as possible cause of error, but I'm not sure. In fact it doesn't work neither moving the HTML page on the s1 server, which is in the same domain of the geoserver service! Or am I wrong thinking so? If the machine name/IP address and **PORT** do not match between the request and where the page was served from you will need a proxy to make this work. Ian -- Ian Turton -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] CQL_FILTER works but click also gives popup of hidden/filtered markers
Not sure if this is correctly posted here or on the OpenLayers list but I will try! I am using OpenLayers, GeoServer 2.1.3. I have a function that works to filter the markers on the map with a CQL_FILTER function. But when I click on a marker it shows a popup with featureInfo information. If there are hidden markers on the same coordinate (from the CQL_FILTER function) every marker shows a popup, even if I have filtered them out. Is it possible to only have the filtered markers give a popup? The markers are on the same layer but I only want a popup to fire on the filtered markers. Any advice to where I start would be be appreciated! function CQLfilter(sok,cat){ var mLayers = map.layers; switch (cat) { case 'SN': param = scientificname LIKE '%+ sok + %' ; break; case 'NNG': param = norsknavngruppe LIKE '%+ sok + %' ; break; case 'NNA': param = norsknavnart LIKE '%+ sok + %' ; break; case 'PROJ': param2 = new Array() param2.push(prosjektnummer LIKE '% + sok + %') param2.push(prosjektnavn LIKE '% + sok + %') param = param2.join( OR ); break; default: param2 = new Array() param2.push(scientificname LIKE '% + sok + %') param2.push(norsknavngruppe LIKE '% + sok + %') param2.push(norsknavnart LIKE '% + sok + %') param2.push(collector LIKE '% + sok + %') param = param2.join( OR ); break; } for(var a = 4; a (mLayers.length); a++ ){ mLayers[a].mergeNewParams({'CQL_FILTER': param}); mLayers[a].setVisibility(true); }} Here is my code that generates the popup and the wmsGetFeatureInfo. I guess it is here I must also do some kind of filtering on the wms request but not sure how to do it: info = new OpenLayers.Control.WMSGetFeatureInfo({ url: 'http://kart.naturkart.no/geoserver/wms', title: 'Identify features by clicking', queryVisible: true, infoFormat:'application/vnd.ogc.gml', eventListeners: { getfeatureinfo: function(event) { if (popup) { map.removePopup(popup); } var contentHtml = ''; // Manage the features if (event.features.length 0) { for (var i = 0; i event.features.length; i++) { var feature = event.features[i]; // Identify the type if (feature.gml.featureType == 'ikke_rodlistet' || feature.gml.featureType == 'kritisk_truet' || feature.gml.featureType == 'nar_truet' || feature.gml.featureType == 'regionalt_utdodd' || feature.gml.featureType == 'saarbar' || feature.gml.featureType == 'sterkt_truet') { // Create HTML content for this feature type var locality = feature.attributes['locality']; country = feature.attributes['country']; scientificname = feature.attributes['scientificname']; kingdom = feature.attributes['kingdom']; norsknavnart = feature.attributes['norsknavnart']!= null? feature.attributes['norsknavnart'] + ' | ':''; norsknavngruppe = feature.attributes['norsknavngruppe']!= null? feature.attributes['norsknavngruppe'] + ' | ':''; collector = feature.attributes['collector']; kommentar = feature.attributes['kommentar']!= null? feature.attributes['kommentar'] + ' | ':''; dateinterval = feature.attributes['dateinterval']; status = feature.attributes['status']; statusimg = 'img src=/images/svg/bab_'+status+'.svg width=10 /'; contentHtml = contentHtml + 'h2' + scientificname +' '+ statusimg + '/h2'; contentHtml = contentHtml + norsknavnart + norsknavngruppe + ' Reg.dato: ' + dateinterval + 'br /'; contentHtml = contentHtml + kommentar + ' Reg. av: ' + collector + 'br /'; contentHtml = contentHtml + 'span class=popItema href=http://babkart.no/?x='+feature.attributes['x']+'amp;y='+feature.attributes['y']+'Direkte link/a til dette artsfunn./spanhr /'; } } } else { // Don't show any popup if no features. return; alert(map.getLonLatFromPixel(event.xy)); } var popup = new Popup( chicken, map.getLonLatFromPixel(event.xy), null, contentHtml,
Re: [Geoserver-users] CQL_FILTER works but click also gives popup of hidden/filtered markers
I think this should be on the OL list. Use firebug or similar to see what is being sent to geoserver. Is it correct? If not, then there is issue with your OL code. You can hack what is being sent by hand to see that filters are working correctly or not in geoserver. If you think there is an error, put the POST data here. The Geoserver layer preview gives you a nice tool for playing with CQL filters (press the icon above the pan control). -- Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232 Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Cannot preview a layer in a MS SQL Server 2008 R2 data store
Hello, Everybody. We have a server in which we installed Microsoft SQL Server 2008 R2 Standard and GeoServer. We created a new data store and a new layer in GeoServer. However, when we try to preview the new layer (in OpenLayers, for example), we get a file named wms with the following contents: ?xml version=1.0 encoding=UTF-8 standalone=no?!DOCTYPE ServiceExceptionReport SYSTEM http://localhost:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd; ServiceExceptionReport version=1.1.1ServiceException java.lang.NullPointerException null /ServiceException/ServiceExceptionReport Operating system: Microsoft SQL Server 2008 R2 Java version: Oracle Java 7 update 3 Database engine: Microsoft SQL Server 2008 R2 Standard Web container: JBoss 7.1.0.Final GeoServer version: 2.1.3 Stack trace: 18:24:23,891 INFO [org.geoserver.wms] (http--0.0.0.0-8080-19) Request: getServiceInfo 18:24:23,896 ERROR [org.geoserver.ows] (http--0.0.0.0-8080-19) : java.lang.NullP ointerException at org.geoserver.wms.map.GetMapKvpRequestReader.getDefaultStyle(GetMapKv pRequestReader.java:433) [wms-2.1.3.jar:] at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestRea der.java:342) [wms-2.1.3.jar:] at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestRea der.java:74) [wms-2.1.3.jar:] at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1230) [o ws-2.1.3.jar:] at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:488) [ows-2.1.3 .jar:] at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:23 1) [ows-2.1.3.jar:] at org.springframework.web.servlet.mvc.AbstractController.handleRequest( AbstractController.java:153) [spring-webmvc-2.5.5.jar:2.5.5] at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.ha ndle(SimpleControllerHandlerAdapter.java:48) [spring-webmvc-2.5.5.jar: 2.5.5] at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch erServlet.java:875) [spring-webmvc-2.5.5.jar:2.5.5] at org.springframework.web.servlet.DispatcherServlet.doService(Dispatche rServlet.java:809) [spring-webmvc-2.5.5.jar:2.5.5] at org.springframework.web.servlet.FrameworkServlet.processRequest(Frame workServlet.java:571) [spring-webmvc-2.5.5.jar:2.5.5] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServl et.java:501) [spring-webmvc-2.5.5.jar:2.5.5] at javax.servlet.http.HttpServlet.service(HttpServlet.java: 734) [jboss-s ervlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java: 847) [jboss-s ervlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:329) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:248) [jbossweb-7.0.10.Final.jar:] at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocals CleanupFilter.java:23) [main-2.1.3.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:280) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:248) [jbossweb-7.0.10.Final.jar:] at org.geoserver.filters.SpringDelegatingFilter $Chain.doFilter(SpringDel egatingFilter.java:74) [main-2.1.3.jar:] at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatin gFilter.java:45) [main-2.1.3.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:280) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:248) [jbossweb-7.0.10.Final.jar:] at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispat chFilter.java:49) [platform-2.1.3.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:280) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:248) [jbossweb-7.0.10.Final.jar:] at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCha racterEncodingFilter.java:109) [main-2.1.3.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:280) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:248) [jbossweb-7.0.10.Final.jar:] at org.springframework.security.util.FilterChainProxy $VirtualFilterChain .doFilter(FilterChainProxy.java:394) [spring-security- core-2.0.6.RELEASE.jar:] at org.springframework.security.intercept.web.FilterSecurityInterceptor. invoke(FilterSecurityInterceptor.java:109) [spring-security- core-2.0.6.RELEASE.j ar:] at