No announcement yet.

WCS Elevation model with partial data

  • 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="" xmlns:xsi="" xsi:schemaLocation="">
    <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)

    When the ElevationTile is created by WCSElevationModel(BasicElevationModel).c reateTile(TileKey) line: 388, called from BasicElevationModel$ 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 for proposed bug fixes.