diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2022-02-22 17:09:20 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2022-02-22 17:09:20 +0100 |
| commit | 987afa3c6dc2ec1613609059b81c71c47910e2b0 (patch) | |
| tree | 60971d2b0cd2af01bb14e50783c05226680f5db6 | |
| parent | bc34a84eab410b82a14e181da3eec598309e7312 (diff) | |
| download | PROJ-987afa3c6dc2ec1613609059b81c71c47910e2b0.tar.gz PROJ-987afa3c6dc2ec1613609059b81c71c47910e2b0.zip | |
CTable2Grid::open(): add missing call to extent.computeInvRes() (CID 383359)
| -rw-r--r-- | src/grids.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/grids.cpp b/src/grids.cpp index 1842fc54..c00325a8 100644 --- a/src/grids.cpp +++ b/src/grids.cpp @@ -1747,6 +1747,7 @@ CTable2Grid *CTable2Grid::open(PJ_CONTEXT *ctx, std::unique_ptr<File> fp, } extent.east = extent.west + (width - 1) * extent.resX; extent.north = extent.south + (height - 1) * extent.resX; + extent.computeInvRes(); return new CTable2Grid(ctx, std::move(fp), filename, width, height, extent); } |
