Announcement

Collapse
No announcement yet.

WCS Elevation model with partial data

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • WCS Elevation model with partial data

    When the elevation data set in a WCS server doesn't cover the entire globe, errors can occur when attempting to retrieve data. Mapserver will return an error report instead of the data, and a later attempt to find a reader for the data will fail with "SEVERE: Unknown File format or matching reader not found". The error report returned looks like:

    <?xml version='1.0' encoding="UTF-8" ?>
    <ServiceExceptionReport version="1.2.0"
    xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wcs/1.0.0/OGC-exception.xsd">
    <ServiceException code="NoApplicableCode" locator="bbox">msWCSGetCoverage(): WCS server error. Requested BBOX (60.0666666666667,30.0666666666667,79.93 33333333333,49.9333333333333) is outside requested coverage BBOX (53.9995833,11.9995833,72.0004167,30.000 4167)
    </ServiceException>
    </ServiceExceptionReport>


    When the ElevationTile is created by WCSElevationModel(BasicElevationModel).c reateTile(TileKey) line: 388, called from BasicElevationModel$RequestTask.run() line: 431

    it looks to me that the 'tileSector' should be clipped by the WCSElevationModel's sector limits, something like:

    tileSector = levels.getSector().intersection(tileSect or);

    Is that a correct fix?

  • #2
    Please see pull request https://github.com/NASAWorldWind/WorldWindJava/pull/150 for proposed bug fixes.

    Comment

    Working...
    X