Larg(ish) png images as a result of a GetMap request seem to have
crept in again in trunk. Moreover, specifying some different sizes
(800x600 or 900x500) discards raster coverages and shows only
featureType layers:
Alex
On 8/21/06, Simone Giannecchini <simboss1@anonymised.com> wrote:
Ciao Alex,
I have been playing around with the configuration options for png
image, but I think something went wrong :-).I am going to figure that out wednesday at most.
Simone.
On 8/21/06, Alexander Petkov <greenkov@anonymised.com> wrote:
> Weird, I think the error might have something to do with the requested
> map size (800x600).
> The produced PNG file is 1.9MB in size!!!
> It should be around 300-400KB in size, based on my experience from
> saving these maps and making animations.
>
> Here is a nice compact GIF--the result of my experiments with the WCS
> SVN from today. Onto testing the mosaic plugin now...
> Alex
>
> On 8/21/06, Alexander Petkov <greenkov@anonymised.com> wrote:
> > One of the problems that is apparent is with making a GetMap request.
> > More specifically, the situation I describe includes a FeatureType
> > created from a PostGIS FeatureStore on a remote server.
> >
> > The FeatureType in question contains MYLTIPOLYGON geometries (North
> > America map).
> >
> > Sometimes, not always, I will get an error with the following request:
> > http://localhost:8080/geoserver/wms?bbox=-4578324,-2500333,3189008,4611929&styles=polygon&Format=image/png&request=GetMap&layers=countries_wrf&width=800&height=600&srs=EPSG:42312
> >
> > I also tried the same thing with geoserver 1.4.0-M1, where the problem
> > does not exist.
> >
> > The relevant console output is:
> > ============================
> > 3293978 [btpool0-20] ERROR org.mortbay.log - /geoserver/wms
> > java.lang.IllegalStateException: STREAM
> > at org.mortbay.jetty.Response.getWriter(Response.java:459)
> > at org.vfny.geoserver.servlets.AbstractService.send(AbstractService.java:802)
> > at org.vfny.geoserver.servlets.AbstractService.sendError(AbstractService.java:858)
> > at org.vfny.geoserver.servlets.AbstractService.sendError(AbstractService.java:841)
> > at org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:583)
> > at org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:325)
> > at org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:169)
> > at org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:54)
> > at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
> > at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
> > at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:717)
> > at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:658)
> > at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
> > at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
> > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:423)
> > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:965)
> > at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
> > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:956)
> > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:353)
> > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:219)
> > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:542)
> > at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:145)
> > at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:126)
> > at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
> > at org.mortbay.jetty.Server.handle(Server.java:245)
> > at org.mortbay.jetty.HttpConnection.handlerRequest(HttpConnection.java:365)
> > at org.mortbay.jetty.HttpConnection.access$1500(HttpConnection.java:38)
> > at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:609)
> > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:486)
> > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:196)
> > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:296)
> > at org.mortbay.jetty.nio.SelectChannelConnector$HttpEndPoint.run(SelectChannelConnector.java:740)
> > at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:435)
> > ===============================
> >
> > Alex
> >
>--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions-------------------------------------------------------