Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/huidaecho/tifcat
GeoTIFF printing utility
https://github.com/huidaecho/tifcat
Last synced: 3 days ago
JSON representation
GeoTIFF printing utility
- Host: GitHub
- URL: https://github.com/huidaecho/tifcat
- Owner: HuidaeCho
- License: gpl-3.0
- Created: 2024-04-08T04:10:15.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-05-09T15:26:44.000Z (6 months ago)
- Last Synced: 2024-05-09T16:41:36.490Z (6 months ago)
- Language: C
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# TifCat
This program prints out the cell values of a GeoTIFF file. It is meant to be used for unit testing with small files and requires GDAL.
```bash
$ make
$ ./tifcat test/fdr.tif
1 1 2 4 16 8 8 8 8 8 8 8
1 1 2 4 16 8 8 8 8 8 8 8
1 1 1 4 16 8 8 8 8 8 8 8
1 1 1 4 16 8 8 8 8 8 8 8
1 1 1 4 16 4 8 8 8 8 8 8
1 1 1 4 2 4 8 8 8 8 8 8
1 1 1 2 1 2 4 4 4 4 4 4
8 1 1 1 2 4 255 255 255 255 255 255
16 1 1 128 16 255 255 255 255 255 255 255
$ ./tifcat test/fdr.tif null
1 1 2 4 16 8 8 8 8 8 8 8
1 1 2 4 16 8 8 8 8 8 8 8
1 1 1 4 16 8 8 8 8 8 8 8
1 1 1 4 16 8 8 8 8 8 8 8
1 1 1 4 16 4 8 8 8 8 8 8
1 1 1 4 2 4 8 8 8 8 8 8
1 1 1 2 1 2 4 4 4 4 4 4
8 1 1 1 2 4 null null null null null null
16 1 1 128 16 null null null null null null null
$ ./tifcat test/fdr.tif - %4d
1 1 2 4 16 8 8 8 8 8 8 8
1 1 2 4 16 8 8 8 8 8 8 8
1 1 1 4 16 8 8 8 8 8 8 8
1 1 1 4 16 8 8 8 8 8 8 8
1 1 1 4 16 4 8 8 8 8 8 8
1 1 1 4 2 4 8 8 8 8 8 8
1 1 1 2 1 2 4 4 4 4 4 4
8 1 1 1 2 4 - - - - - -
16 1 1 128 16 - - - - - - -
$ ./tifcat -d test/fdr.tif
→ → ↘ ↓ ← ↙ ↙ ↙ ↙ ↙ ↙ ↙
→ → ↘ ↓ ← ↙ ↙ ↙ ↙ ↙ ↙ ↙
→ → → ↓ ← ↙ ↙ ↙ ↙ ↙ ↙ ↙
→ → → ↓ ← ↙ ↙ ↙ ↙ ↙ ↙ ↙
→ → → ↓ ← ↓ ↙ ↙ ↙ ↙ ↙ ↙
→ → → ↓ ↘ ↓ ↙ ↙ ↙ ↙ ↙ ↙
→ → → ↘ → ↘ ↓ ↓ ↓ ↓ ↓ ↓
↙ → → → ↘ ↓ · · · · · ·
← → → ↗ ← · · · · · · ·
```