Resample the UTM source mosaic into complete 256-pixel XYZ tiles. More...


Go to the source code of this file.
Data Structures | |
| struct | pangea_survey::XyzPixels |
| Colour and confidence planes for one aligned XYZ working batch. More... | |
Namespaces | |
| namespace | pangea_survey |
Functions | |
| bool | pangea_survey::xyzCompleteCoverage (std::size_t valid) |
| Require every one of the tile's 256 x 256 output pixels to be supported. | |
| XyzPixels | pangea_survey::renderXyzPixels (Orthorectifier &processor, const MapConfig &config, const OrthoLayout &layout, int zoom, std::uint64_t originX, std::uint64_t originY, int width, int height, const std::function< bool()> &stopped) |
| Resample an orthomosaic window onto one Web-Mercator pixel grid. | |
| XyzPixels | pangea_survey::xyzOverview (const XyzPixels &input, unsigned workers, const std::function< bool()> &stopped) |
| Build one lower-zoom level from aligned 2 x 2 child pixels. | |
| static pangea_survey::XyzPixels | xyzBatch (pangea_survey::Orthorectifier &processor, const pangea_survey::MapConfig &working, const pangea_survey::OrthoLayout &layout, int zoom, std::uint64_t x, std::uint64_t y, int width, int height) |
| Render or reuse one identity-checked XYZ batch for low-memory resume. | |
| static int | exportXyzTiles (const pangea_survey::MapConfig &config, const fs::path &csv, const fs::path &workDirectory, bool diagnostic=false) |
| Render and publish the planned XYZ pyramid, optionally as diagnostics. | |
Detailed Description
Resample the UTM source mosaic into complete 256-pixel XYZ tiles.
Tile pixels are transformed through geographic coordinates instead of assuming UTM and Web Mercator share a grid. Every interpolation tap with a nonzero weight must have source support; publishing partial or fabricated pixels would break opaque-tile compatibility and misstate coverage.
Definition in file xyz_export.h.
Function Documentation
◆ exportXyzTiles()
|
static |
Render and publish the planned XYZ pyramid, optionally as diagnostics.
- Parameters
-
[in] config Validated XYZ settings, coverage policy, and output root. [in] csv Fixed-session source manifest. [in] workDirectory Private report/checkpoint directory for this run. [in] diagnostic If true, save inspection images but leave completion false.
- Returns
- Zero only after the report and all required tiles are finalized.
- Exceptions
-
std::runtime_error On cancellation, incomplete coverage, write failure, or mismatched checkpoint content.
Definition at line 230 of file xyz_export.h.
◆ xyzBatch()
|
static |
Render or reuse one identity-checked XYZ batch for low-memory resume.
- Parameters
-
[in] processor Prepared orthorectifier. [in] working Working-grid configuration and checkpoint directory. [in] layout Projected working-grid bounds. [in] zoom Base XYZ zoom. [in] x Global XYZ pixel origin. [in] y Global XYZ pixel origin. [in] width Batch width in pixels. [in] height Batch height in pixels.
- Returns
- Owned BGRA and confidence planes.
- Exceptions
-
std::runtime_error If a saved batch has mismatched dimensions/hash or rendering fails.
Definition at line 182 of file xyz_export.h.