Re: [gdal-dev] OSM to GDB

2025-02-24 Thread gdisk.mike via gdal-dev
Factor the polynomial completely 6x^2 5x-4 On Mon, Feb 24, 2025, 9:22 AM John Oliver via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > That worked. Thanks. > > > > *From:* Michael Smith > *Sent:* Thursday, February 20, 2025 1:38 PM > *To:* John Oliver ; gdal-dev@lists.osgeo.org > *Subject:* Re:

Re: [gdal-dev] How to wrap a zarr in a zip and read it with vsizip?

2025-02-24 Thread Kurt Schwehr via gdal-dev
Thanks Laurentiu and Scott! I can't believe 1) I left off -r and 2) I didn't think to look at what's in the zip. Doh! And thanks for reminding me about sozip. I was one of the reviewers of the initial spec and still don't have it front-of-mind. unzip -l nczarr_v2.zarr.zip Archive: nczarr_v2.zar

[gdal-dev] Masked VRT

2025-02-24 Thread Simon Wright via gdal-dev
Dear subscribers I'm exploring the use of a VRT to mosaic raster tiles while also applying a mask layer using separate mask tiles. Below is a VRT I created to test this approach: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EP

Re: [gdal-dev] How to wrap a zarr in a zip and read it with vsizip?

2025-02-24 Thread Laurențiu Nicola via gdal-dev
I suspect it won't make a lot of difference. SOZIP is designed to allow seeking within a compressed file, but Zarr is tile- (block) based, where each of those is stored in a different file. So you end up uncompressing a whole file anyway. Laurentiu On Mon, Feb 24, 2025, at 21:17, Scott via gdal

Re: [gdal-dev] How to wrap a zarr in a zip and read it with vsizip?

2025-02-24 Thread Scott via gdal-dev
There's GDAL's sozip (Search Optimized Zip) utility as well. I have no idea if it works with .zarr. I'm sure someone will correct me! ;) cd nczarr_v2.zarr sozip ../nczarr_v2.zarr.zip . sozip -l /vsizip/../nczarr_v2.zarr.zip On 2/24/25 10:09, Kurt Schwehr via gdal-dev wrote: Hi all, I seem to

Re: [gdal-dev] How to wrap a zarr in a zip and read it with vsizip?

2025-02-24 Thread Laurențiu Nicola via gdal-dev
Hi Kurt, You'll want something like: cd nczarr_v2.zarr zip -r ../nczarr_v2.zarr.zip . gdalinfo /vsizip/../nczarr_v2.zarr.zip Note that tar makes TAR, not ZIP, archives. Laurentiu On Mon, Feb 24, 2025, at 20:09, Kurt Schwehr via gdal-dev wrote: > Hi all, > > I seem to be having trouble exactly

[gdal-dev] How to wrap a zarr in a zip and read it with vsizip?

2025-02-24 Thread Kurt Schwehr via gdal-dev
Hi all, I seem to be having trouble exactly how to correctly make a zip of a zarr and how to correctly specify the vsizip url. e.g from autotest/gdrivers/data/zarr gdalinfo nczarr_v2.zarr # Works tar cf nczarr_v2.zarr.zip nczarr_v2.zarr Then what? I've tried lots of variations and not had any s

Re: [gdal-dev] OSM to GDB

2025-02-24 Thread John Oliver via gdal-dev
That worked. Thanks. From: Michael Smith Sent: Thursday, February 20, 2025 1:38 PM To: John Oliver ; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] OSM to GDB ogr2ogr -f OpenFileGDB -spat 39 30 40 41 -nlt MULTIPOLYGON -ds_transaction C:\TEMP\TEST5.gdb C:\TEMP\World_8_3.osm multipolygons You

Re: [gdal-dev] link error with MrSID and ECW

2025-02-24 Thread David Klaus via gdal-dev
Michael, I noticed you said the following: "I am linking statically to GDAL built as a static library with vcpkg (which builds without error)." I may be interpreting this incorrectly, but it sounds like you intend to link the NCSEcw library. However, I believe your ECW_LIBRARY variable reference