[Geoserver-devel] [JIRA] (GEOS-7354) Potentially slow GetMap response times with tiny bounding boxes

Steve Ikeoka created an issue

GeoServer / BugGEOS-7354

Potentially slow GetMap response times with tiny bounding boxes

Issue Type:

BugBug

Affects Versions:

2.7.4, 2.8.1

Assignee:

Unassigned

Components:

WMS

Created:

17/Dec/15 11:46 PM

Priority:

MediumMedium

Reporter:

Steve Ikeoka

It is possible for GeoServer to have very slow response times handling WMS GetMap requests against a raster layer when the requested bounding box is much smaller than the resolution of the raster data (i.e., a bounding box where maxx-minx=0.001 degrees against a 1 degree resolution source). The actual slow performance is being caused by the javax.media.jai.ROIShape.getAsImage() in the com.sun.media.jai.opimage.MosaicOpImage constructor when the imageBounds is much larger than the mapRasterArea.

This issue does not happen when advanced projection handling is enabled because the GridCoverageRenderer method that is used in that path will always crop the image that it returns to the map envelope.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.1.0-OD-02-030#71001-sha1:2ba8c0f)

Atlassian logo