forked from georust/gdal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
440: Use tinymarble.tif instead of the PNG r=metasim a=lnicola - [x] I agree to follow the project's [code of conduct](https://github.com/georust/gdal/blob/master/CODE_OF_CONDUCT.md). - [x] I added an entry to `CHANGES.md` if knowledge of this change could be valuable to users. --- We already have the TIFF in the repo, and this fixes the [block size](https://github.com/metasim/gdal/blob/0a50ba27b21ebe6dbe05d1ba1342dfa3c9af0fe1/src/raster/tests.rs#L507-L510) tests, where the official Docker images use `ENABLE_WHOLE_IMAGE_OPTIMIZATION`, which [causes](https://github.com/OSGeo/gdal/blob/bb931fe41aa2c348c6d40f4d3b0e3612246ba21e/frmts/png/pngdataset.cpp#L110-L119) the block size to be equal to the image size, while most distributions of GDAL don't. I regenerated the existing TIFF, which has reversed (?), using: ```sh gdal_translate tinymarble.png tinymarble.tif gdal_edit.py -a_srs EPSG:4326 tinymarble.tif gdaladdo -ro -r bilinear tinymarble.tif 2 4 ``` Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
- Loading branch information
Showing
10 changed files
with
56 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
/.vscode | ||
/gdal-sys/target | ||
/.idea | ||
/fixtures/tinymarble.tif.aux.xml | ||
/3rd | ||
|
||
# gtags | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<PAMDataset> | ||
<SRS dataAxisToSRSAxisMapping="2,1">GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]</SRS> | ||
</PAMDataset> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters