9 Commits

Author SHA1 Message Date
Mark Peterson
07db0fcc0a
License update (#830) 2020-08-12 17:28:51 -05:00
Patrick Hogan
09c81f862e Update 2018-06-21 19:03:59 -07:00
Patrick Hogan
44a32a6501 Update 2018-06-21 18:45:33 -07:00
Mark Peterson
da870bf362 Prioritized elevation coverage selection (#641) 2018-05-04 10:58:03 -07:00
David Collins
a793551329 Modified how ElevationCoverage.elevationsForGrid interprets resolution (#656)
* Modified how ElevationCoverage.elevationsForGrid interprets resolution

The function elevationsForGrid derived from the original ElevationModel, which used targetResolution to select a level in the model's tile pyramid. Since implementing composable elevations (#575), this function appears in both ElevationModel and ElevationCoverage, but serves a different purpose in each. Given that, the argument list need not be the same, and in fact should not be the same. ElevationModel needs targetResolution to let the caller influence which coverage is chosen to fulfil the request. ElevationCoverage does not need targetResolution. Allowing the caller to specify a resolution to ElevationCoverage is unnecessary and potentially dangerous. The grid itself provides an implicit resolution the coverage can use to select a level, and letting the caller override that resolution risks the caller accessing more data than can fit in memory.

Relates to #422

* Adjusted ElevationModel unit tests to reflect ElevationCoverage changes
2018-05-03 14:23:19 -05:00
David Collins
4ee185e952
Removed usage of TiledElevationCoverage's cachePath (#653)
- This change follows #650 to remove the usage of TiledElevationCoverage cachePath.
- Relates to #486
2018-04-30 12:54:43 -07:00
David Collins
4783c4ecf6
Refactored TiledElevationCoverage construction to support WCS (#649)
Modified TiledElevationCoverage to enable construction via configuration object. This enables loose coupling between a WebCoverageService specifying the configuration, and the scene component that consumes the configuration (TiledElevationCoverage). This is the first of several changes that streamline TiledElevationCoverage construction.

This change knowingly breaks backward compatibility. The class TiledElevationCoverage is new since 0.9.0. While we could argue that it should be possible to port 0.9.0 ElevationModel construction to TiledElevationCoverage, as the constructors currently appear very similar, they are fundamentally different. Additionally, the opportunity to improve the elevation coverage interface oughtweighs the benefit we might gain by making it easy to port old ElevationModel code to TiledElevationCoverage.

Relates to #486
2018-04-27 13:45:02 -07:00
David Collins
8dc4861dc7 Enhanced the accuracy of ElevationModel's min/max elevations (#638)
- Corrected minElevation and maxElevation to return zero when the model has no coverages, or when all coverages are disabled
- Updated minAndMaxElevationsForSector to consult only the necessary coverages for a given sector
- Updated ElevationModel's unit tests to account for changes in the minAndMaxElevationsForSector interface and behavior
- Relates to epic #575
2018-04-20 14:44:46 -05:00
Mark Peterson
20973fe978 Initial elevation coverage composition (#580)
The first iteration of changes required to move toward fulfilling the requirements of issue #422.
2018-04-05 14:35:44 -07:00