Re: [Geoserver-users] Image Mosaic JDBC - not working
Good Morning, I just tried following idea: first I converted the geotiff to png gdal_translate -co WORLDFILE=YES -of png 1.tif 2.png Then I followed the instruction of the tutorial. I didn't get the error message when I published the layer. The layer can be loaded to the main map and uses the correct style information. However I see gaps inside the raster and a huge black boarder. This must have happened during the transformation from geotiff to png. It is visible in a desktop image viewer too. So, how to translate geotiff into png probably? And still, png is not a good solution for raster data ... what to do about the geoserver error? On Tue, 03 Sep 2013 17:07:33 +0200 Frederik Haefker fhaef...@uni-bonn.de wrote: Hi Christian, I have full control of the geoserver (sudo etc.). So I think I can start a debug session. Sadly I don't know what to do :) (sorry) In my last message I sent you a file called error-log.txt which included a copy of the full error message. Maybe we can find a hint there? I can send you the scripts (which one do you need?). However I can't send any data itself (due to restriction of my working group). Thanks again Best Regards Frederik On Tue, 3 Sep 2013 17:00:55 +0200 Christian Mueller christian.muel...@os-solutions.at wrote: Hi Frederik This is strange. In the file geoserver_aftererror.log I see 2013-09-03 13:35:57,116 INFO [org.geotools.gce.imagemosaic.jdbc] - Using 8 CPU(s) 2013-09-03 13:35:57,129 INFO [org.geotools.gce.imagemosaic.jdbc] - Getting 1 Tiles needs 13 millisecs 2013-09-03 13:35:57,134 INFO [org.geotools.gce.imagemosaic.jdbc] - Getting and decoding 1 Tiles needs 18 millisecs 2013-09-03 13:35:57,160 INFO [org.geotools.gce.imagemosaic.jdbc] - Mosaic Reader needs : 48 millisecs The imagemosaic JDBC module finished its job and returns an image to GeoServer. Unfortunately, I cannot see the exception causing this error. Without the the data I cannot debug. (Do you have the possibility to start a debug session). If not, I would need your configuration xml files, the image and all the scripts for importing the image data into postgres. Cheers Christian -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Image Pyramid layer settings for faster rendering
Thanks, Simone for replay. Data has structure as a ImagePyramid and stored in folders (0,1,2, etc) on the disk. I have Geoserver 2.3, java 1.7 and RAM around 4GB, but geoserver use around 800MB. Now I am already using GWC, but it is still not fast enough. Do you think, the version of Geoserver has a principal influence on the perfomance? Best regards, Amiala -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Image-Pyramid-layer-settings-for-faster-rendering-tp5072871p5075939.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Rendering transformation error
I tried the gs:Heatmap transformation and works fine. So it seems it is gs:Contour specific. Is there any further test I can try? Thanks Bye Paolo -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Rendering-transformation-error-tp5073874p5075944.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Image Mosaic JDBC - not working
About the geoserver error No chance without a debug session, I cannot see anything from the log files. Have a look at the supported formats http://www.oracle.com/technetwork/java/iio-141084.html On Wed, Sep 4, 2013 at 10:05 AM, Frederik Haefker fhaef...@uni-bonn.dewrote: Good Morning, I just tried following idea: first I converted the geotiff to png gdal_translate -co WORLDFILE=YES -of png 1.tif 2.png Then I followed the instruction of the tutorial. I didn't get the error message when I published the layer. The layer can be loaded to the main map and uses the correct style information. However I see gaps inside the raster and a huge black boarder. This must have happened during the transformation from geotiff to png. It is visible in a desktop image viewer too. So, how to translate geotiff into png probably? And still, png is not a good solution for raster data ... what to do about the geoserver error? On Tue, 03 Sep 2013 17:07:33 +0200 Frederik Haefker fhaef...@uni-bonn.de wrote: Hi Christian, I have full control of the geoserver (sudo etc.). So I think I can start a debug session. Sadly I don't know what to do :) (sorry) In my last message I sent you a file called error-log.txt which included a copy of the full error message. Maybe we can find a hint there? I can send you the scripts (which one do you need?). However I can't send any data itself (due to restriction of my working group). Thanks again Best Regards Frederik On Tue, 3 Sep 2013 17:00:55 +0200 Christian Mueller christian.mueller@os-**solutions.atchristian.muel...@os-solutions.at wrote: Hi Frederik This is strange. In the file geoserver_aftererror.log I see 2013-09-03 13:35:57,116 INFO [org.geotools.gce.imagemosaic.**jdbc] - Using 8 CPU(s) 2013-09-03 13:35:57,129 INFO [org.geotools.gce.imagemosaic.**jdbc] - Getting 1 Tiles needs 13 millisecs 2013-09-03 13:35:57,134 INFO [org.geotools.gce.imagemosaic.**jdbc] - Getting and decoding 1 Tiles needs 18 millisecs 2013-09-03 13:35:57,160 INFO [org.geotools.gce.imagemosaic.**jdbc] - Mosaic Reader needs : 48 millisecs The imagemosaic JDBC module finished its job and returns an image to GeoServer. Unfortunately, I cannot see the exception causing this error. Without the the data I cannot debug. (Do you have the possibility to start a debug session). If not, I would need your configuration xml files, the image and all the scripts for importing the image data into postgres. Cheers Christian -- DI Christian Mueller MSc (GIS), MSc (IT-Security) OSS Open Source Solutions GmbH -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Image Mosaic JDBC - not working
Thanks a lot for your effort and help!!! Do you have any idea why I can't create an account at http://jira.codehaus.org/browse/GEOS/ To create a new issue? It is recommended in the error message of geoserver: Here's an error report you can include in a JIRA bug report about this issue: Best Regards Frederik On Wed, 4 Sep 2013 10:51:39 +0200 Christian Mueller christian.muel...@os-solutions.at wrote: About the geoserver error No chance without a debug session, I cannot see anything from the log files. Have a look at the supported formats http://www.oracle.com/technetwork/java/iio-141084.html On Wed, Sep 4, 2013 at 10:05 AM, Frederik Haefker fhaef...@uni-bonn.dewrote: Good Morning, I just tried following idea: first I converted the geotiff to png gdal_translate -co WORLDFILE=YES -of png 1.tif 2.png Then I followed the instruction of the tutorial. I didn't get the error message when I published the layer. The layer can be loaded to the main map and uses the correct style information. However I see gaps inside the raster and a huge black boarder. This must have happened during the transformation from geotiff to png. It is visible in a desktop image viewer too. So, how to translate geotiff into png probably? And still, png is not a good solution for raster data ... what to do about the geoserver error? On Tue, 03 Sep 2013 17:07:33 +0200 Frederik Haefker fhaef...@uni-bonn.de wrote: Hi Christian, I have full control of the geoserver (sudo etc.). So I think I can start a debug session. Sadly I don't know what to do :) (sorry) In my last message I sent you a file called error-log.txt which included a copy of the full error message. Maybe we can find a hint there? I can send you the scripts (which one do you need?). However I can't send any data itself (due to restriction of my working group). Thanks again Best Regards Frederik On Tue, 3 Sep 2013 17:00:55 +0200 Christian Mueller christian.mueller@os-**solutions.atchristian.muel...@os-solutions.at wrote: Hi Frederik This is strange. In the file geoserver_aftererror.log I see 2013-09-03 13:35:57,116 INFO [org.geotools.gce.imagemosaic.**jdbc] - Using 8 CPU(s) 2013-09-03 13:35:57,129 INFO [org.geotools.gce.imagemosaic.**jdbc] - Getting 1 Tiles needs 13 millisecs 2013-09-03 13:35:57,134 INFO [org.geotools.gce.imagemosaic.**jdbc] - Getting and decoding 1 Tiles needs 18 millisecs 2013-09-03 13:35:57,160 INFO [org.geotools.gce.imagemosaic.**jdbc] - Mosaic Reader needs : 48 millisecs The imagemosaic JDBC module finished its job and returns an image to GeoServer. Unfortunately, I cannot see the exception causing this error. Without the the data I cannot debug. (Do you have the possibility to start a debug session). If not, I would need your configuration xml files, the image and all the scripts for importing the image data into postgres. Cheers Christian -- DI Christian Mueller MSc (GIS), MSc (IT-Security) OSS Open Source Solutions GmbH -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] native bounding box didn't store coordinates
Hi, I have a problem with geoserver 2.3.5. When I'm creating new layer form MSSQL datastore a have to compute native BBox from the data. geoserver reads the data and fill the forms. I do the same for the Lat/Lon BBox and save layer. I realized the layer preview did't show any results, just the service exception: ?xml version=1.0 encoding=UTF-8 standalone=no?!DOCTYPE ServiceExceptionReport SYSTEM quot;http://172.30.4.1:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtdquot; ServiceExceptionReport version=1.1.1 ServiceException code=InvalidBBox The request bounding box has zero area: ReferencedEnvelope[-591.0 : -165.0, -1.0 : -1.0] /ServiceException/ServiceExceptionReport The problem is that computed coordinates contains spaces http://osgeo-org.1560.x6.nabble.com/file/n5075960/bbox_compute.png but geoserver save just firs digits. http://osgeo-org.1560.x6.nabble.com/file/n5075960/bbox_after.png I can fix it, when I manually delete spaces and save it. But I have to do it always, when I change something in layer settings. Its very uncomfortable. Can someone help me to fix it. I have tried different browsers, but without success. Peter -- View this message in context: http://osgeo-org.1560.x6.nabble.com/native-bounding-box-didn-t-store-coordinates-tp5075960.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Image Mosaic JDBC - not working
Hmmm, No idea how create an account, I did this a long time ago. Can you open a new thread on the user list asking how to get a JIRA account. I can remember some people having the same problem but I forgot the solution. On Wed, Sep 4, 2013 at 10:59 AM, Frederik Haefker fhaef...@uni-bonn.dewrote: Thanks a lot for your effort and help!!! Do you have any idea why I can't create an account at http://jira.codehaus.org/**browse/GEOS/http://jira.codehaus.org/browse/GEOS/To create a new issue? It is recommended in the error message of geoserver: Here's an error report you can include in a JIRA bug report about this issue: Best Regards Frederik On Wed, 4 Sep 2013 10:51:39 +0200 Christian Mueller christian.mueller@os-**solutions.atchristian.muel...@os-solutions.at wrote: About the geoserver error No chance without a debug session, I cannot see anything from the log files. Have a look at the supported formats http://www.oracle.com/**technetwork/java/iio-141084.**htmlhttp://www.oracle.com/technetwork/java/iio-141084.html On Wed, Sep 4, 2013 at 10:05 AM, Frederik Haefker fhaef...@uni-bonn.de wrote: Good Morning, I just tried following idea: first I converted the geotiff to png gdal_translate -co WORLDFILE=YES -of png 1.tif 2.png Then I followed the instruction of the tutorial. I didn't get the error message when I published the layer. The layer can be loaded to the main map and uses the correct style information. However I see gaps inside the raster and a huge black boarder. This must have happened during the transformation from geotiff to png. It is visible in a desktop image viewer too. So, how to translate geotiff into png probably? And still, png is not a good solution for raster data ... what to do about the geoserver error? On Tue, 03 Sep 2013 17:07:33 +0200 Frederik Haefker fhaef...@uni-bonn.de wrote: Hi Christian, I have full control of the geoserver (sudo etc.). So I think I can start a debug session. Sadly I don't know what to do :) (sorry) In my last message I sent you a file called error-log.txt which included a copy of the full error message. Maybe we can find a hint there? I can send you the scripts (which one do you need?). However I can't send any data itself (due to restriction of my working group). Thanks again Best Regards Frederik On Tue, 3 Sep 2013 17:00:55 +0200 Christian Mueller christian.mueller@os-**soluti**ons.athttp://solutions.at christian.mueller@os-**solutions.atchristian.muel...@os-solutions.at wrote: Hi Frederik This is strange. In the file geoserver_aftererror.log I see 2013-09-03 13:35:57,116 INFO [org.geotools.gce.imagemosaic.jdbc] - Using 8 CPU(s) 2013-09-03 13:35:57,129 INFO [org.geotools.gce.imagemosaic.jdbc] - Getting 1 Tiles needs 13 millisecs 2013-09-03 13:35:57,134 INFO [org.geotools.gce.imagemosaic.jdbc] - Getting and decoding 1 Tiles needs 18 millisecs 2013-09-03 13:35:57,160 INFO [org.geotools.gce.imagemosaic.jdbc] - Mosaic Reader needs : 48 millisecs The imagemosaic JDBC module finished its job and returns an image to GeoServer. Unfortunately, I cannot see the exception causing this error. Without the the data I cannot debug. (Do you have the possibility to start a debug session). If not, I would need your configuration xml files, the image and all the scripts for importing the image data into postgres. Cheers Christian -- DI Christian Mueller MSc (GIS), MSc (IT-Security) OSS Open Source Solutions GmbH -- DI Christian Mueller MSc (GIS), MSc (IT-Security) OSS Open Source Solutions GmbH -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] REST security
Hi list. I have an issue with Rest security in latest geoserver 2.3.5 (also in 2.3.4) I use j2ee authentication filter for authorization in our JOSSO system. Authorization is proceeding normally and everything is working as it should, but when I try to create a workspace via a REST receive the following error 2013-09-03 08:55:07,145 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - Converted URL to lowercase, from: '/rest/workspaces'; to: '/rest/workspaces' and httpMethod= POST 2013-09-03 08:55:07,145 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - ~~ antPath= /** methodList= [GET] 2013-09-03 08:55:07,145 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - Candidate is: '/rest/workspaces'; antPath is /**; matchedPath=true; matchedMethods=false 2013-09-03 08:55:07,145 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - ~~ antPath= /** methodList= [POST, DELETE, PUT] 2013-09-03 08:55:07,145 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - Candidate is: '/rest/workspaces'; antPath is /**; matchedPath=true; matchedMethods=true 2013-09-03 08:55:07,145 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - returning RIHMI-WDC.RCITU:GIS:ADMIN 2013-09-03 08:55:07,146 TRACE [ows.OWSHandlerMapping] - No handler mapping found for [/rest/workspaces] 2013-09-03 08:55:07,146 TRACE [ows.OWSHandlerMapping] - No handler mapping found for [/rest/workspaces] 2013-09-03 08:55:07,149 DEBUG [org.geoserver] - Thread 151 locking in mode WRITE 2013-09-03 08:55:07,149 DEBUG [org.geoserver] - Thread 151 got the lock in mode WRITE 2013-09-03 08:55:07,181 DEBUG [org.geoserver] - Thread 151 releasing the lock in mode WRITE 2013-09-03 08:55:07,182 ERROR [geoserver.rest] - com.thoughtworks.xstream.io.StreamException: : input contained no data at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:126) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:141) at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:118) at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:103) at com.thoughtworks.xstream.io.xml.XppReader.init(XppReader.java:63) at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:54) at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:65) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:922) at org.geoserver.config.util.XStreamPersister.load(XStreamPersister.java:549) at org.geoserver.catalog.rest.AbstractCatalogResource$1.read(AbstractCatalogResource.java:50) at org.geoserver.rest.format.StreamDataFormat.toObject(StreamDataFormat.java:33) at org.geoserver.rest.ReflectiveResource.handlePost(ReflectiveResource.java:117) at org.restlet.Finder.handle(Finder.java:296) at org.geoserver.rest.BeanDelegatingRestlet.handle(BeanDelegatingRestlet.java:37) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:134) at org.restlet.Router.handle(Router.java:444) at org.geoserver.rest.RESTDispatcher$1.handle(RESTDispatcher.java:204) at com.noelios.restlet.ext.servlet.ServletConverter.service(ServletConverter.java:129) at org.geoserver.rest.RESTDispatcher.handleRequestInternal(RESTDispatcher.java:86) 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:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45) at
Re: [Geoserver-users] REST security
Only to be sure, did you put your j2ee filter on the rest queue (ant pattern /rest/**) Cheers Christian On Wed, Sep 4, 2013 at 12:13 PM, Dmitriy Tyugaev dtyug...@gmail.com wrote: Hi list. I have an issue with Rest security in latest geoserver 2.3.5 (also in 2.3.4) I use j2ee authentication filter for authorization in our JOSSO system. Authorization is proceeding normally and everything is working as it should, but when I try to create a workspace via a REST receive the following error 2013-09-03 08:55:07,145 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - Converted URL to lowercase, from: '/rest/workspaces'; to: '/rest/workspaces' and httpMethod= POST 2013-09-03 08:55:07,145 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - ~~ antPath= /** methodList= [GET] 2013-09-03 08:55:07,145 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - Candidate is: '/rest/workspaces'; antPath is /**; matchedPath=true; matchedMethods=false 2013-09-03 08:55:07,145 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - ~~ antPath= /** methodList= [POST, DELETE, PUT] 2013-09-03 08:55:07,145 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - Candidate is: '/rest/workspaces'; antPath is /**; matchedPath=true; matchedMethods=true 2013-09-03 08:55:07,145 DEBUG [security.RESTfulPathBasedFilterInvocationDefinitionMap] - returning RIHMI-WDC.RCITU:GIS:ADMIN 2013-09-03 08:55:07,146 TRACE [ows.OWSHandlerMapping] - No handler mapping found for [/rest/workspaces] 2013-09-03 08:55:07,146 TRACE [ows.OWSHandlerMapping] - No handler mapping found for [/rest/workspaces] 2013-09-03 08:55:07,149 DEBUG [org.geoserver] - Thread 151 locking in mode WRITE 2013-09-03 08:55:07,149 DEBUG [org.geoserver] - Thread 151 got the lock in mode WRITE 2013-09-03 08:55:07,181 DEBUG [org.geoserver] - Thread 151 releasing the lock in mode WRITE 2013-09-03 08:55:07,182 ERROR [geoserver.rest] - com.thoughtworks.xstream.io.StreamException: : input contained no data at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:126) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:141) at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:118) at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:103) at com.thoughtworks.xstream.io.xml.XppReader.init(XppReader.java:63) at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:54) at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:65) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:922) at org.geoserver.config.util.XStreamPersister.load(XStreamPersister.java:549) at org.geoserver.catalog.rest.AbstractCatalogResource$1.read(AbstractCatalogResource.java:50) at org.geoserver.rest.format.StreamDataFormat.toObject(StreamDataFormat.java:33) at org.geoserver.rest.ReflectiveResource.handlePost(ReflectiveResource.java:117) at org.restlet.Finder.handle(Finder.java:296) at org.geoserver.rest.BeanDelegatingRestlet.handle(BeanDelegatingRestlet.java:37) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:134) at org.restlet.Router.handle(Router.java:444) at org.geoserver.rest.RESTDispatcher$1.handle(RESTDispatcher.java:204) at com.noelios.restlet.ext.servlet.ServletConverter.service(ServletConverter.java:129) at org.geoserver.rest.RESTDispatcher.handleRequestInternal(RESTDispatcher.java:86) 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:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at
[Geoserver-users] GeoServer 2.4-RC2 released
GeoServer 2.4-RC2 is available for download: http://geoserver.org/display/GEOS/GeoServer+2.4-RC2 This is our second release candidate, made available for community testing: - Catalog Service Web has graduated to a formal Extension, including new admin page and many fixes - A fix for those using Tomcat Apache Portable Runtime - Removal of the VPF Extension - See the GeoServer 2.4-RC2 release noteshttp://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10311version=19547 for more details This is our last shot before FOSS4G and we would like to ask for your help testing: - *Platform: *Help test GeoServer on a range of operating systems and application servers - *Data:* Help test with your own data (as we only test with a limited sample dataset) Reply to this email (or use twitter #GeoServer tag) and let us know what works! A very special thanks to all those who contributed bug fixes, new features, bug reports, and testing for the 2.4-RC2 release. -- The GeoServer Team -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] OpenLayers with App-Schemas
Adding that to the request seems to work fine: http://data.usgin.org/azgs_bedrock_geology/gsmlp/ows?service=WFSversion=1.1.0request=GetFeaturetypeName=gsmlp:GeologicUnitViewmaxFeatures=2srsName=http://www.opengis.net/def/crs/EPSG/0/4326 -- View this message in context: http://osgeo-org.1560.x6.nabble.com/OpenLayers-with-App-Schemas-tp5075263p5076048.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] OpenLayers with App-Schemas
I am having some trouble with the newest Nightly version Rini suggested (when I try to Submit an SLD, it bonks with an error message java.lang.IllegalStateException: Form too large22477820). Any help there would be great On another front, in the 2.3.0 version of GeoServer that I've been using, it appears that the WFS 1.1.0 app-schema GetFeature AND the WMS works fine, as long as you indicate that the WMS is an image format and not OpenLayers. Still will not display in OpenLayers. Hopefully that is the fix that's covered in Rini's new release? http://data.usgin.org/azgs_bedrock_geology/gsmlp/ows?service=WFSversion=1.1.0request=GetFeaturetypeName=gsmlp:GeologicUnitViewmaxFeatures=2 http://data.usgin.org/azgs_bedrock_geology/gsmlp/wms?service=WMSversion=1.1.0request=GetMaplayers=gsmlp:GeologicUnitViewstyles=bbox=-114.8152032903,31.3320051418,-109.0445000163,37.0037805637width=512height=503srs=EPSG:4326format=image/png -- View this message in context: http://osgeo-org.1560.x6.nabble.com/OpenLayers-with-App-Schemas-tp5075263p5076067.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] How to create/execute urn:ogc:def:query:OGC-WFS::GetFeatureById StoredQuery ?
Hi, I try to create and execute the stored query urn:ogc:def:query:OGC-WFS::GetFeatureById. The following creation fails : wfs:CreateStoredQuery service=WFS version=2.0.0 xmlns=http://www.opengis.net/wfs/2.0; xmlns:wfs=http://www.opengis.net/wfs/2.0; xmlns:gml=http://www.opengis.net/gml/3.2; xmlns:fes=http://www.opengis.net/fes/2.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xsi:schemaLocation=http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd; xmlns:ns1= http://www.opengis.net/ows/1.1; wfs:StoredQueryDefinition id=urn:ogc:def:query:OGC-WFS::GetFeatureById TitleGet feature by identifier/Title wfs:Parameter name=ID type=xsd:string / wfs:QueryExpressionText language=urn:ogc:def:queryLanguage:OGC-WFS::WFS_QueryExpression wfs:Query fes:Filter fes:ResourceId rid=${ID}/ /fes:Filter /wfs:Query /wfs:QueryExpressionText /wfs:StoredQueryDefinition /wfs:CreateStoredQuery It fails because there is not feature type specified in the query. But I can't create a parameter for the feature type, because it's not compliant WFS2.0 : the urn:ogc:def:query:OGC-WFS::GetFeatureById stored query must have only one parameter (the id parameter). So, how to do ? Best regards, Rudy. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] INSPIRE fields not shown using REST API
Hi, I have installed GeoServer 2.3.5 and the INSPIRE plugin of that version. The extra INSPIRE fields are visible in the WMS and WFS settings pages and the extra information is also added to the WMS and WFS capabilities. However, I don't see this INSPIRE related information when requesting the WMS and WFS settings using REST: http://localhost:8080/geoserver/rest/services/wms/settings.xml and http://localhost:8080/geoserver/rest/services/wfs/settings.xml. Is it normal behaviour that the REST API doesn't show this information? Best regards, Tim. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] KML output, extruding height with polygons
Hi, we are pretty new to Geoserver and KML output for GE. We have been working on using kml output of postgis based layers to dynamicayyl cerate kml via Geoserver and to extrude height values to view features e.g. building in 3D. So far this sucessfully worked for us with a heigth.ftl template and point layers , but it doesnt seem to work as well with polygons. These polygons in this link to a kmz file output by Geoserver http://www.terragis.net/docs/other/test_height.kmz won't extrude. If you open and zoom-in enough so the data is presented as kml entities and right click, you will notice inside the properties that the altitude tab is set to various heights (min=0 and max=max value) instead of using the unique Absolute Height of max value ( see screen shot http://www.terragis.net/docs/other/test_height.png). Hence they stick to the ground. If you manually change that value to force the later, you will notice that the polygon renders properly. So the problem is probably with the writing of the file when created in geoserver. While researching this we also realized that the kml output does produce a MultiGeometry and has actually a point (the center point of the polygon and does correctly add the height value, below 154 to it) , plus the polygons bit with the polygon feature the z values all default to 0 - see below . However we are not sure why a point is created at all (as the layer is polygons only and guess that if we could suppress the point form being created that the polygons heights would show up correctly ? Anybody has found a similar problem and/or can venture a solution? I have also set it up in this page http://dr-i-ve.com/samples-for-geogroup/ as the first file on the upper left ( 3D Buildings 2002) , and I have set two other files that render properly z values (height) for reference. Luis and Karsten --- MultiGeometry Point coordinates-122.3315613282126,47.62726284173768,154/coordinates /Point Polygon outerBoundaryIs LinearRing coordinates -122.33179025,47.6276434701,0 -122.33174006,47.62760903,0 -122.33169852,47.6276373,0 -122.33120259,47.62764013,0 -122.33120192,47.62761704,0 -122.33115272,47.62761676,0 -122.33113577,47.62759119,0 -122.33111383,47.6275570001,0 -122.3310926,47.62751601,0 -122.33107405,47.6274725401,0 -122.33105908,47.62742717,0 -122.33104675,47.62737868,0 -122.33103897,47.62733013,0 -122.33103796,47.6272950399,0 -122.33087857,47.62729575,0 -122..3308763,47.62721695,0 -122.33088906,47.62721741,0 -122.33088952,47.62720139,0 -122.3308203,47.62720213,0 -122.33081998,47.62696679,0 -122.33093383,47..62696591,0 -122.33093528,47.62695296,0 -122.33105642,47.6269526,0 -122.33105498,47.62696554,0 -122.33129907,47.62696418,0 -122.33129875,47.6269531,0 -122.33132425,47.62695276,0 -122.33132503,47.6269484401,0 -122.33143164,47.62694889,0 -122.33143122,47.62696613,0 -122.33191168,47.62696289,0 -122..33191136,47.6269832101,0 -122.3319615,47.6269844101,0 -122.33202638,47.6269915601,0 -122.33208041,47.6270013099,0 -122.33213642,47.62701659,0 -122.33220642,47.62704337,0 -122.33224275,47.62706373,0 -122.33235145,47.62713712,0 -122.3323286,47.62715034,0 -122.3323759,47.62717928,0 -122.33230481,47.6272254799,0 -122.33235638,47.62726082,0 -122.33179025,47..6276434701,0 /coordinates /LinearRing /outerBoundaryIs /Polygon /MultiGeometry -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] OpenLayers with App-Schemas
Christy, notice how the extra parameter changes the axis order to latitude/longitude as expected? The values look correct. In my mind, this confirms that you do not have an axis order problem. Nice to see it working with a shapefile! Kind regards, Ben. On 04/09/13 23:22, christy@azgs wrote: Adding that to the request seems to work fine: http://data.usgin.org/azgs_bedrock_geology/gsmlp/ows?service=WFSversion=1.1.0request=GetFeaturetypeName=gsmlp:GeologicUnitViewmaxFeatures=2srsName=http://www.opengis.net/def/crs/EPSG/0/4326 -- View this message in context: http://osgeo-org.1560.x6.nabble.com/OpenLayers-with-App-Schemas-tp5075263p5076048.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Ben Caradoc-Davies ben.caradoc-dav...@csiro.au Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] OpenLayers with App-Schemas
Christy, tl;dr: not an app-schema problem, please set your Global / Settings / Proxy Base URL to: http://data.usgin.org/azgs_bedrock_geology/ Long version: This is not an app-schema problem. If you look at the source of the OpenLayers JavaScript that is delivered to the client by GeoServer, you will see a bunch of references starting with: http://127.0.0.1:8080/azgs_bedrock_geology/ These links point to the client's loopback address and so the client cannot load these resources. The cause of the problem is that your GeoServer is behind an HTTP proxy (like apache) and does not know its real address; although proxies can rewrite HTTP headers, they do not typically rewrite the content of payloads. Setting your Global / Settings / Proxy Base URL to be the externally visible base URL http://data.usgin.org/azgs_bedrock_geology/ allows GeoServer to ensure that the OpenLayers JavaScript includes links that are usable by a remote client. This should work since the fixing of this bug: https://jira.codehaus.org/browse/GEOS-4930 Kind regards, Ben. On 05/09/13 01:03, christy@azgs wrote: On another front, in the 2.3.0 version of GeoServer that I've been using, it appears that the WFS 1.1.0 app-schema GetFeature AND the WMS works fine, as long as you indicate that the WMS is an image format and not OpenLayers. Still will not display in OpenLayers. Hopefully that is the fix that's covered in Rini's new release? -- Ben Caradoc-Davies ben.caradoc-dav...@csiro.au Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] OpenLayers with App-Schemas
Also not an app-schema problem. See advice here: http://osgeo-org.1560.x6.nabble.com/SLD-file-too-large-td3791883.html On 05/09/13 01:03, christy@azgs wrote: I am having some trouble with the newest Nightly version Rini suggested (when I try to Submit an SLD, it bonks with an error message java.lang.IllegalStateException: Form too large22477820). Any help there would be great -- Ben Caradoc-Davies ben.caradoc-dav...@csiro.au Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users