!yNLbWuxtZEZoUZYwKG:nixos.org

Nix Geospatial Team

37 Members
Nix Geospatial packages maintenance. Team board - https://github.com/orgs/NixOS/projects/47/views/18 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
21 Feb 2024
@vengmark2:matrix.orgl0b0
In reply to @imincik:matrix.org
I spent some time on fixing #238882 , but it looked to me as some kind of bug or problem on GDAL side. I was not able to find any problem in our packaging. l0b0 , have you seen it working (is for example Debian package or GDAL docker image working as expected ?)
I've only ever seen it work with the internal library, such as in this documentation. I guess most people (including distro maintainers) don't care too much about vendoring these libraries, but this video talks about why NixOS maintainers in particular should care.
19:24:53
@imincik:matrix.orgIvan Mincik (imincik)What about opening issue in GDAL ? 19:26:23
@imincik:matrix.orgIvan Mincik (imincik)So many issues in those few instructions in elevation README :) 19:31:00
@imincik:matrix.orgIvan Mincik (imincik)Good reminder why I use Nix19:34:49
@imincik:matrix.orgIvan Mincik (imincik)Please review this trivial patch version update - https://github.com/NixOS/nixpkgs/pull/286713 . Thanks.21:04:05
@vengmark2:matrix.orgl0b0
In reply to @imincik:matrix.org
What about opening issue in GDAL ?
The first thing someone is going to ask is how to reproduce, and I think I'll need some help with that. There are a bajillion options, and I'm not very familiar with cmake, and even less familiar with GDAL.
23:46:11
@vengmark2:matrix.orgl0b0
In reply to @imincik:matrix.org
What about opening issue in GDAL ?
* The first thing someone is going to ask is how to reproduce, and I think I'll need some help with that. There are a bajillion options, and I'm not very familiar with cmake, and even less familiar with GDAL. I'd be surprised if they'd be OK with running nix-build to test it, but I could start with that.
23:46:58
@vengmark2:matrix.orgl0b0 Looks like there's already a relevant issue. 23:48:01
@vengmark2:matrix.orgl0b0 * Looks like there's already a relevant issue. I'll try building libtiff with lerc to see if that fixes it… 23:50:47
22 Feb 2024
@vengmark2:matrix.orgl0b0Is anyone familiar enough with libtiff to create some tests? I feel like if LERC support should be added to libtiff then it should be tested in the libtiff package, not in GDAL.00:05:25
@imincik:matrix.orgIvan Mincik (imincik)
In reply to @vengmark2:matrix.org
Looks like there's already a relevant issue. I'll try building libtiff with lerc to see if that fixes it…
Is it working with https://github.com/NixOS/nixpkgs/pull/290556
09:17:53
@imincik:matrix.orgIvan Mincik (imincik)
In reply to @vengmark2:matrix.org
Looks like there's already a relevant issue. I'll try building libtiff with lerc to see if that fixes it…
* Is it working with https://github.com/NixOS/nixpkgs/pull/290556 ?
09:17:57
@vengmark2:matrix.orgl0b0Yep, that's how I verified the libtiff change. There's no libtiff test to verify that LERC support has been enabled yet.09:18:44
@vengmark2:matrix.orgl0b0

You should be able to verify with

git checkout l0b0/libtiff-lerc-support
git cherry-pick l0b0/gdal-test-separation
git cherry-pick l0b0/gdal-lerc-support
nix-build --attr pkgs.gdal.passthru.tests
09:24:05
@vengmark2:matrix.orgl0b0 *

You should be able to verify with

git checkout l0b0/libtiff-lerc-support
git cherry-pick l0b0/gdal-test-separation
git cherry-pick l0b0/gdal-lerc-support
nix-build --attr pkgs.gdal.passthru.tests.compress-lerc
09:24:45
@vengmark2:matrix.orgl0b0 *

You should be able to verify with

git checkout l0b0/libtiff-lerc-support
git cherry-pick l0b0/gdal-test-separation
git cherry-pick l0b0/gdal-lerc-support
nix-build --attr pkgs.gdal.passthru.tests.compress-lerc

(It takes forever to build, though.)

09:25:13
@imincik:matrix.orgIvan Mincik (imincik)

What about trying tiffinfo to check which compression is enabled

./result-bin/bin/tiffinfo ~/Projects/osgeo/qgis/code/tests/testdata/raster_layer.tiffTIFFReadDirectory: Warning, Unknown field with tag 33550 (0x830e) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 33922 (0x8482) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34735 (0x87af) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34736 (0x87b0) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34737 (0x87b1) encountered.
=== TIFF directory 0 ===
TIFF Directory at offset 0x67b86 (424838)
  Image Width: 337 Image Length: 315
  Resolution: 36, 36 pixels/inch
  Bits/Sample: 8
  Compression Scheme: None
  Photometric Interpretation: RGB color
  Extra Samples: 1<unassoc-alpha>
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 4
  Rows/Strip: 6
  Planar Configuration: single image plane
  Tag 33550: 0.146439,0.146439,0.000000
  Tag 33922: 0.000000,0.000000,0.000000,-124.091282,56.207996,0.000000
  Tag 34735: 1,1,0,7,1024,0,1,2,1025,0,1,1,2048,0,1,4326,2049,34737,7,0,2054,0,1,9102,2057,34736,1,1,2059,34736,1,0
  Tag 34736: 298.257224,6378137.000000
  Tag 34737: WGS 84|
09:25:42
@imincik:matrix.orgIvan Mincik (imincik) tiffinfo contains Compression Scheme: None field 09:26:26

Show newer messages


Back to Room ListRoom Version: 10