166167168169170171172173174175176
renderer.setRendererHints(rendererParams); Envelope dataArea = mapContext.getAreaOfInterest(); if (this.abortRequested) { graphic.dispose(); // step 5: we close the document document.close(); return; }
218219220221222223224225226227228
long kbMax = maxMemory / KB; throw new WmsException("Rendering request used more memory than the maximum allowed:" + kbMax + "KB"); } graphic.dispose(); cb.addTemplate(tp, 0, 0); // step 5: we close the document document.close(); writer.flush();
212213214215216217218219220221222
throw new ServiceException( "Rendering request used more memory than the maximum allowed:" + kbMax + "KB"); } graphic.dispose(); cb.addTemplate(tp, 0, 0); // step 5: we close the document document.close(); writer.flush();
208209210211212213214215216217218