Re: [gdal-dev] Errors while creating sozip zarr file

2025-07-19 Thread Rahkonen Jukka via gdal-dev
Hi, Do you get the same error if you create the zarr first ready and sozip it later with https://gdal.org/en/stable/programs/gdal_vsi_sozip.html#gdal-vsi-sozip (or https://gdal.org/en/stable/programs/sozip.html#sozip)? -Jukka Rahkonen- Lähettäjä: gdal-d

Re: [gdal-dev] Motion: approve GDAL 3.11.2RC2 as final release

2025-07-09 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- Lähettäjä: gdal-dev käyttäjän Even Rouault via gdal-dev puolesta Lähetetty: Keskiviikko 9. heinäkuuta 2025 10.30 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: approve GDAL 3.11.2RC2 as final release Hi, starti

Re: [gdal-dev] Motion: approve GDAL 3.11.1RC2 as final release

2025-06-27 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- Lähettäjä: gdal-dev käyttäjän Even Rouault via gdal-dev puolesta Lähetetty: Perjantai 27. kesäkuuta 2025 12.00 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: approve GDAL 3.11.1RC2 as final release Hi, starting

Re: [gdal-dev] gdal CLI issues

2025-06-04 Thread Rahkonen Jukka via gdal-dev
Hi, Maybe the right question is why your build yielded a non-working CLI. If you want to test the new gdal CLI tools meanwhile, you can try conda. However, when I just tried to install GDAL on my Windows machine with conda install -c conda-forge gdal it does not work due to missing "MSVCP140D.dl

Re: [gdal-dev] WG: Wrong results during translate input.tif file to output.xyz file with gdal_translate.exe

2025-06-02 Thread Rahkonen Jukka via gdal-dev
at value stands for nodata. -Jukka Rahkonen- ____ Lähettäjä: gdal-dev käyttäjän Rahkonen Jukka via gdal-dev puolesta Lähetetty: Maanantai 2. kesäkuuta 2025 11.56 Vastaanottaja: Javier Jimenez Shaw ; gdal-dev@lists.osgeo.org ; Marián Hadri Aihe: Re: [gdal-dev] WG: Wro

Re: [gdal-dev] WG: Wrong results during translate input.tif file to output.xyz file with gdal_translate.exe

2025-06-02 Thread Rahkonen Jukka via gdal-dev
Hi, Run: gdalinfo input.tif -stats See among other information: ... Band 1 Block=1905x1 Type=Float32, ColorInterp=Gray Minimum=643.147, Maximum=927.145, Mean=735.006, StdDev=69.669 NoData Value=-3.402823e+38 Metadata: STATISTICS_MINIMUM=643.14666748047 STATISTICS_MAXIMUM=927.1450195

Re: [gdal-dev] Wrong results during translate input.tif file to output.xyz file with gdal_translate.exe

2025-05-28 Thread Rahkonen Jukka via gdal-dev
Hi, The link does not work for me. All I get is a Not found error "The requested URL was not found on this server." -Jukka Rahkonen- Lähettäjä: gdal-dev käyttäjän Marián Hadri via gdal-dev puolesta Lähetetty: Keskiviikko 28. toukokuuta 2025 18.45 Vast

Re: [gdal-dev] NODATA values in diferents bands in a DataSet

2025-05-21 Thread Rahkonen Jukka via gdal-dev
Hi, On writing side nodata=none seems to work. gdalwarp -of VRT -dstnodata "0 none 0" p4433h.tif nodata.vrt gdalinfo nodata.vrt ... Band 1 Block=512x128 Type=Byte, ColorInterp=Red NoData Value=0 Overviews: 6000x6000, 3000x3000, 1500x1500, 750x750, 375x375, 188x188 Band 2 Block=512x128 Type=B

Re: [gdal-dev] Building GDAL with rtree support

2025-05-15 Thread Rahkonen Jukka via gdal-dev
Hi, If you suppose that rtree is missing, compile only SQLite and then run this in SQLite pragma compile_options; It should show "ENABLE_RTREE". If that is ok then the error happens in some other place. -Jukka- Lähettäjä: gdal-dev käyttäjän Jon Morris

Re: [gdal-dev] I cannot clean overviews from GeoTIFF

2025-05-12 Thread Rahkonen Jukka via gdal-dev
Hi, So now we have the right question: how to remove overviews from cloud optimized GeoTIFF. First confirm your findings: gdal_create -of cog -outsize 1000 1000 cog.tif 0...10...20...30...40...50...60...70...80...90...100 - done. test1: gdaladdo cog.tif ERROR 6: cog.tif: Cannot add external ov

Re: [gdal-dev] I cannot clean overviews from GeoTIFF

2025-05-12 Thread Rahkonen Jukka via gdal-dev
Hi, Can you reproduce even with these three commands: gdal_create -outsize 1000 1000 test.tif gdaladdo test.tif gdaladdo -clean test.tif If you can I fear the only solution is to say goodbye to Mac and switch to Windows ;) -Jukka Rahkonen- Lähettäjä: Ja

Re: [gdal-dev] I cannot clean overviews from GeoTIFF

2025-05-12 Thread Rahkonen Jukka via gdal-dev
Hi, Tested with GDAL 3.12.0dev-8130fe444e, released 2025/04/28 (OSGeo4W) on Windows. gdaladdo addo.tif -clean --debug on ... GDAL: GDALOpen(addo.tif, this=02E622185320) succeeds as GTiff. GTiff: ScanDirectories() GTiff: Opened 6000x6000 overview. GTiff: Opened 3000x3000 overview. GTiff: Opene

Re: [gdal-dev] HFA (.img) driver prints Warning 1: NaN converted to INT_MAX when float raster has nan as the NoData value

2025-05-08 Thread Rahkonen Jukka via gdal-dev
Hi, Another method to reproduce without Python by using gdal_create: gdal_create -outsize 100 100 -ot float32 -a_nodata nan -of hfa nan.img C:\data\000\gdaltest>gdalinfo nan.img Warning 1: NaN converted to INT_MAX. Driver: HFA/Erdas Imagine Images (.img) Files: nan.img Size is 100, 100 ... Band

Re: [gdal-dev] Motion: approve GDAL 3.11.0RC2 as final release

2025-05-08 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- Lähettäjä: gdal-dev käyttäjän Howard Butler via gdal-dev puolesta Lähetetty: Torstai 8. toukokuuta 2025 14.19 Vastaanottaja: Rouault Even Kopio: gdal-dev@lists.osgeo.org Aihe: Re: [gdal-dev] Motion: approve GDAL 3.11.0RC2 as final relea

Re: [gdal-dev] Compoundcurve to DXF

2025-05-07 Thread Rahkonen Jukka via gdal-dev
Hi, By reading https://gdal.org/en/stable/drivers/vector/dxf.html this feels clear and expected: "CIRCLE, ELLIPSE, ARC, SPLINE,HELIX: Translated as a LINESTRING, tessellating the curve into line segments" and "The OGR_ARC_STEPSIZE and OGR_ARC_MAX_GAP configurations options control the approxim

Re: [gdal-dev] Vector VRT with OGRVRTUnionLayer

2025-05-06 Thread Rahkonen Jukka via gdal-dev
Hi, Partial answer based on editing the example https://gdal.org/en/stable/drivers/vector/vrt.html#example-union-layer Sources: polygon shapefile and point shapefile Output: one layer with unknown/any geometry type unionlayer.vrt poly.shp wkbUnkno

Re: [gdal-dev] gdal 3.11 -dsco vs --co

2025-04-29 Thread Rahkonen Jukka via gdal-dev
Hi, Your syntax with the "gdal" frontend is correct. This command is accepted: gdal vector convert -f MVT --co NAME=foo in.shp out The reason for the error may be in the commas in the value of the TILING_SCHEME. The same error message can be triggered with gdal vector convert -f MVT --co NAME

Re: [gdal-dev] Motion: ReadTheDocs Financial Support

2025-04-17 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- Lähettäjä: gdal-dev käyttäjän Howard Butler via gdal-dev puolesta Lähetetty: Torstai 17. huhtikuuta 2025 19.39 Vastaanottaja: gdal dev Aihe: [gdal-dev] Motion: ReadTheDocs Financial Support Dear PSC, GDAL and PROJ depend upon ReadThe

Re: [gdal-dev] Performance Issue with VRT Pixel Function and Large Number of Source Rasters

2025-04-14 Thread Rahkonen Jukka via gdal-dev
Hi, I got interested in trying what if all the images overlap totally. The timings from my test looks good to me, 28 seconds for creating a max raster from 1000 single band rasters, 1000x1000 pixels each. However, I am not totally sure if my test is valid so I present it here. First create 10

Re: [gdal-dev] Performance Issue with VRT Pixel Function and Large Number of Source Rasters

2025-04-14 Thread Rahkonen Jukka via gdal-dev
Hi, When "max" pixel function is used then GDAL needs to analyze every single pixel from every overlapping image for finding out the maximum values. Without pixel functions there is nothing to analyze but the pixels from the last image in a pile will beat all the previous pixels. I would try

Re: [gdal-dev] Performance Issue with VRT Pixel Function and Large Number of Source Rasters

2025-04-14 Thread Rahkonen Jukka via gdal-dev
Hi, Some previous discussion about the same thing in https://gis.stackexchange.com/questions/491309/performent-way-of-merging-multiple-rasters-into-a-single-cog-gtiff-with-gdal-w? With untiled images it is not a surprise that small -projwin does not have a great effect. But with 1000x1000 pixel

[gdal-dev] GeoJSON with "id" in properties and SQLite dialect

2025-04-07 Thread Rahkonen Jukka via gdal-dev
Hi, I notised this question on gis.stackexchange https://gis.stackexchange.com/questions/491741/gdal-sqlite-no-such-table-when-id-in-properties I tried to make as simple as possible test case and here is the GeoJSON: { "type": "FeatureCollection", "name": "main", "features": [

Re: [gdal-dev] Motion: adopt GDAL 3.10.3RC1 as final 3.10.3 release

2025-04-03 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- Lähettäjä: gdal-dev käyttäjän Even Rouault via gdal-dev puolesta Lähetetty: Torstai 3. huhtikuuta 2025 12.25 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: adopt GDAL 3.10.3RC1 as final 3.10.3 release Hi, Motion: ad

Re: [gdal-dev] Ellipsoid-geoid offsetting and compound SRS

2025-03-31 Thread Rahkonen Jukka via gdal-dev
Hi, EPSG:4326 is a 2D system. I do not know if the result from the following using WGS84 3D CRS as input is right, but at least is does change the heigth. gdaltransform -s_srs EPSG:4979 -t_srs EPSG:4326+5773 20 60 20 60 -18.6147727966309 -Jukka Rahkonen- __

[gdal-dev] Problem with GPKG, UPSERT, AND OGR2OGR_USE_ARROW_API

2025-03-24 Thread Rahkonen Jukka via gdal-dev
Hi, I was testing the UPSERT feature for combining geopackages. I have same tables in both gpkg databases and tables contain partly same, partly different features. There is a unique contraint in one attribute in addition to FID. FID cannot be used as a key for UPSERT because it is a counting n

Re: [gdal-dev] Motion: approve use of GDAL Sponsorship Program funds for 2 documentation contributors

2025-03-12 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: keskiviikko 12. maaliskuuta 2025 15.16 Vastaanottaja: gdal-dev@lists.osgeo.org Kopio: Seth G ; Delaz J Aihe: [gdal-dev] Motion: approve use of GDAL Sponsorship Program funds for

Re: [gdal-dev] SQLite / Spatialite RDBMS

2025-03-09 Thread Rahkonen Jukka via gdal-dev
Hi, The SQLite driver has a long history, I guess it was originally made to support FDO https://web.archive.org/web/20240811210751/https://trac.osgeo.org/fdo/wiki/FDORfc16. By that time there was no other use for

Re: [gdal-dev] SQLite / Spatialite RDBMS

2025-03-09 Thread Rahkonen Jukka via gdal-dev
Hi, Proj requires SQLite anyway and you may want to do coordinate transformations with GDAL. Without SpatiaLite you’ll miss only the SpatiaLite SQL functions, and of course support for SpatiaLite databases. -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Chris Toney via gdal-dev Lähetetty: sun

Re: [gdal-dev] Motion: Add Michael Smith to GDAL PSC

2025-03-03 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Daniel Morissette via gdal-dev Lähetetty: maanantai 3. maaliskuuta 2025 18.30 Vastaanottaja: gdal-dev Aihe: [gdal-dev] Motion: Add Michael Smith to GDAL PSC Hi PSC members, I would like to nominate Michael Smith t

Re: [gdal-dev] pansharpening on images with RPCs post GDAL 3.6

2025-02-25 Thread Rahkonen Jukka via gdal-dev
Hi, I have never done anything with RPCs, but maybe you could remove RPCs with something like “gdal_translate -co profile=baseline input.tif output.tif” (delete the aux.xml or use that magic config option that I do not remember out of my head), define some fake geotransformation by defining sam

Re: [gdal-dev] Zip-Compressed GeoJSON Files?

2025-02-23 Thread Rahkonen Jukka via gdal-dev
Hi, I think this is documented in https://gdal.org/en/stable/user/virtual_file_systems.html#write-capabilities. At least after reading it I concluded that I must define both the zip file and the file to be inserted, and in that order. ogr2ogr -f "geojson" /vsizip/output.zip/geojson test.shp T

Re: [gdal-dev] OSM to GDB

2025-02-20 Thread Rahkonen Jukka via gdal-dev
Hi, Passing a single layer hides the real issue, that is the table “other_relations (Geometry Collection)”. GDB does not support geometrycollections, therefore the ERROR 6: Unsupported geometry type. Fastest way to get all data except geometrycollections into GDB may go through GeoPackage with

Re: [gdal-dev] Motion: adopt RFC 108 (Re: RFC 108 text: driver removals for GDAL 3.11)

2025-02-19 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: keskiviikko 19. helmikuuta 2025 12.25 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: adopt RFC 108 (Re: RFC 108 text: driver removals for GDAL 3.11) Motion: ad

Re: [gdal-dev] DXF ogr_style

2025-02-14 Thread Rahkonen Jukka via gdal-dev
Hi, Use SQL and select the special OGR_STYLE field as a normal attribute. An example, tested with https://github.com/OSGeo/gdal/blob/master/autotest/ogr/data/dxf/assorted.dxf ogr2ogr -f geojson -sql "select *, ogr_style as ogr_style from entities" out.json assorted.dxf -Jukka Rahkonen- Lähet

Re: [gdal-dev] Revert "Undo executive order 14172"

2025-02-14 Thread Rahkonen Jukka via gdal-dev
Hi, I suggest continuing the discussion in other forums than GitHub issues or gdal-dev. I do not suggest being a coward and fall silent but finding a better media. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Andrew C Aitchison via gdal-dev Lähetetty: perjantai

Re: [gdal-dev] Motion: adopt GDAL 3.10.2RC1 as final 3.10.2 release

2025-02-12 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: keskiviikko 12. helmikuuta 2025 12.38 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: adopt GDAL 3.10.2RC1 as final 3.10.2 release Hi, Motion: adopt GDAL 3.10.2

Re: [gdal-dev] CSharp bindings queued for removal (was Re: GDAL CSharp bindings maintainers/contributors listening... ?)

2025-01-31 Thread Rahkonen Jukka via gdal-dev
Hi, It is always hard to know who are using products and services and software which can be accessed without a contract and a credit card. We have (unintentionally) noticed in our agency that despite the surveys and information campaigns, the feedback from the not-paying users really starts to

Re: [gdal-dev] Motion: adopt RFC 100: Add support for the float16 data type

2025-01-30 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Erik Schnetter via gdal-dev Lähetetty: torstai 7. marraskuuta 2024 16.40 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: adopt RFC 100: Add support for the float16 data type I move to adopt RFC 100 (adding support for the float1

Re: [gdal-dev] CSharp bindings queued for removal (was Re: GDAL CSharp bindings maintainers/contributors listening... ?)

2025-01-29 Thread Rahkonen Jukka via gdal-dev
Hi, The named maintainer thing may reflect this thread Re: [gdal-dev] C# bindings compilation from 2021. -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Paul Harwood via gdal-dev Lähetetty: keskiviikko 29. tammikuuta 2025 10.

Re: [gdal-dev] Motion: adopt RFC106: Metadata items to reflect driver update capabilities

2025-01-27 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: maanantai 27. tammikuuta 2025 11.24 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: adopt RFC106: Metadata items to reflect driver update capabilities Hi, The

Re: [gdal-dev] using gdal.Warp to reproject a GTiff with an external nodata mask (.msk)

2025-01-27 Thread Rahkonen Jukka via gdal-dev
Hi, Do you suppose that the result would be two files: "Ortho2024_3857_10cm_mask.tif" "Ortho2024_3857_10cm_mask.tif.msk" What the result is now? One file "Ortho2024_3857_10cm_mask.tif" with an internal mast band, or what? -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Maxime Demers via gdal-de

Re: [gdal-dev] UTM local correction for height and distance-to-reference-meridian ?

2025-01-21 Thread Rahkonen Jukka via gdal-dev
Hi, I was just testing the approach with ogrinfo (GDAL 3.11.0dev) but maybe I am doing something wrong. This works in SpatiaLite gui (or at least the length is not the same): Cartesian length select ST_Length (ST_GeomFromText ('LINESTRING ( 339775 6936992, 548057 6951815 )',3067)); 208808.7949

Re: [gdal-dev] DXF MLTIPOINT

2025-01-16 Thread Rahkonen Jukka via gdal-dev
Hi, * The main question is why... Those who have written the DXF driver (Frank Warmerdam, Alan Thomas, Even Rouault...) may know why but I guess that that their client did not have multipoints in their data, or they were not willing to pay for something that they do not need. Multipoints ar

Re: [gdal-dev] DXF MLTIPOINT

2025-01-15 Thread Rahkonen Jukka via gdal-dev
Hi, By this gis.stackexchange answer https://gis.stackexchange.com/questions/336804/export-to-dxf-from-multipoint-z-geometry-in-postgresql-using-ogr2ogr the main issue is in the DXF format that does not support MultiPoints. Try the workaround and explode your multipoints. About why it is allowe

Re: [gdal-dev] Motion: adopt RFC 105: Add and use safe path manipulation functions

2025-01-15 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: keskiviikko 15. tammikuuta 2025 17.13 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: adopt RFC 105: Add and use safe path manipulation functions HUOM! Viesti on saapunut ulkopuolisesta oso

Re: [gdal-dev] Multilayer datasets

2025-01-15 Thread Rahkonen Jukka via gdal-dev
Hi, Not an answer to your question, but shape driver actually supports multiple layers as a directory of shapefiles. -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Michal Kowalczuk via gdal-dev Lähetetty: keskiviikko 15. tammikuuta 2025 10.40 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal

Re: [gdal-dev] Removal of gdalwarpsimple app

2025-01-13 Thread Rahkonen Jukka via gdal-dev
Hi, Maybe there was not any reason to keep that historical relict, originally called Mapinfo Image Warper from 2002, because gdalwarp exists. * Project: Mapinfo Image Warper * Purpose: Commandline program for doing a variety of image warps, including * image reprojection. * Author: Frank Wa

Re: [gdal-dev] Motion: approve GDAL 3.10.1 RC2 as 3.10.1 release

2025-01-09 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: torstai 9. tammikuuta 2025 14.14 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: approve GDAL 3.10.1 RC2 as 3.10.1 release Hi, Motion: approve GDAL 3.10.1 RC2 a

Re: [gdal-dev] Motion: approve use of GSP funds for work on Conda build infrastructure

2025-01-03 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: torstai 2. tammikuuta 2025 16.54 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: approve use of GSP funds for work on Conda build infrastructure Hi, Happy New

Re: [gdal-dev] [PROJ] LIBERTIFF / Thread-safe TIFF reader

2024-12-22 Thread Rahkonen Jukka via gdal-dev
Hi, The total size of the .tif files in my PROJ_DATA is 959 MB. I tried the LERC compression with MAX_Z_ERROR values 0.001 and 0.01 for /f %i in ('dir /b *.tif') do (gdal_translate -of GTiff -co compress=lerc -co max_z_error=0.001 %i %i.lerc.tif) z_error 0.001: 682 MB (-29%) z_error 0.01: 549

Re: [gdal-dev] GEOTIFF with RAT - transformation unsuccessful (and related warning)

2024-12-20 Thread Rahkonen Jukka via gdal-dev
Hi, All GeoTIFF creation options are documented in https://gdal.org/en/stable/drivers/raster/gtiff.html. There is no creation option "CREATE_RAT=YES". There is also no configuration option --config RAT_PATH. Either the name of your friend is AI or they are hallucinating. The gdal_translate uti

[gdal-dev] Hi: GDAL CONFIG

2024-12-17 Thread Rahkonen Jukka via gdal-dev
Hi, Have you tried set GDAL_HTTP_USERPWD=user:pass -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Michal Kowalczuk via gdal-dev Lähetetty: tiistai 17. joulukuuta 2024 19.49 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] GDAL CONFIG Dear GDAL colleagues, do you have any idea why the

Re: [gdal-dev] WMTS generating GET URL problem

2024-12-13 Thread Rahkonen Jukka via gdal-dev
Hi, While waiting their reaction, download the GetCapabilities into a local file, for example "wmts.xml". Edit the 24 occasions of style into default> Then you can do: gdal_translate -srcwin 0 0 12235811 6137602 -outsize 512 512 WMTS:wmts.xml,lay

Re: [gdal-dev] WMTS generating GET URL problem

2024-12-13 Thread Rahkonen Jukka via gdal-dev
Hi, The idea behind all standardization work is not that every single client must be made to deal with servers which break the standard. Contact the server provided and ask them to fix their configuration. There seems to be a contact address in GetCapabilities irisline@paradigm.brusselsmailto:

Re: [gdal-dev] WMTS generating GET URL problem

2024-12-13 Thread Rahkonen Jukka via gdal-dev
Hi, By the standard Web Map Tile Service - Open Geospatial Consortium "style" seems to be mandatory in the layer data "One or more (mandatory)". And within "style", the identifier is mandatory "An unambiguous reference to this style, identifying

Re: [gdal-dev] WMTS Possible rounding error

2024-12-10 Thread Rahkonen Jukka via gdal-dev
Hi, I read from the GetCapabilities that the URL template is like .../{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol} The size of tile matrix 1 "1" is 4 3 The WMTS standard tells about TileCol "...else SHALL be any integer value between 0 and MatrixWidth - 1, see Table 14, (both includ

Re: [gdal-dev] Motion: add Dan Baston to GDAL PSC

2024-12-09 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: maanantai 9. joulukuuta 2024 16.11 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: add Dan Baston to GDAL PSC Hi PSC (again), I would like to nominate Dan Basto

Re: [gdal-dev] Motion: approve funding for Breathe project

2024-12-09 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: maanantai 9. joulukuuta 2024 13.30 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: approve funding for Breathe project Hi PSC, The Breathe project (https://gith

Re: [gdal-dev] Where to find a FlatGeobuf test file?

2024-12-06 Thread Rahkonen Jukka via gdal-dev
Hi, All right, TestCapability(ogr.OLCFastSpatialFilter) is the answer gdal - How to check if FlatGeobuf layer has a spatial index? - Geographic Information Systems Stack Exchange. -Jukka Rahkon

Re: [gdal-dev] Where to find a FlatGeobuf test file?

2024-12-06 Thread Rahkonen Jukka via gdal-dev
Hi, Has there been a change in writing the layer extent? I thought that the test https://github.com/OSGeo/gdal/blob/e4d1f7ff474ceeffd69b1ceef3fa635428788e8c/autotest/ogr/ogr_flatgeobuf.py#L182 is testing with TestCapability(ogr.OLCFastGetExtent) if spatial index exists. At least the test file

Re: [gdal-dev] Where to find a FlatGeobuf test file?

2024-12-06 Thread Rahkonen Jukka via gdal-dev
aths are relative to where the .py file is located, so here the test file is at https://github.com/OSGeo/gdal/tree/master/autotest/ogr/data/testfgb Even Le 05/12/2024 à 15:55, Rahkonen Jukka via gdal-dev a écrit : Hi, There is a FlatGeobuf test in here https://github

[gdal-dev] Where to find a FlatGeobuf test file?

2024-12-05 Thread Rahkonen Jukka via gdal-dev
Hi, There is a FlatGeobuf test in here https://github.com/OSGeo/gdal/blob/436ae05694cf52526ef606853828b5ec9300d50d/autotest/ogr/ogr_flatgeobuf.py#L182 but I cannot find the file "data/testfgb/poly_no_index.fgb" anywhere. Is it created on-the-fly or what? -Jukka Rahkonen- ___

Re: [gdal-dev] Does writing GeoJSON need to be so slow?

2024-12-03 Thread Rahkonen Jukka via gdal-dev
f each feature before serializing it to string, the fact that the OGR GeoJSON driver implements "smart" rounding/truncation logic, and possibly (didn't check) the fact the the sqlite3_mprintf() routine is faster than standard library printf(). Even Le 28/11/2024 à 14:43, Rahkonen J

Re: [gdal-dev] Motion: adopt RFC 104: Adding a "gdal" front-end command line interface

2024-12-02 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: maanantai 2. joulukuuta 2024 18.14 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: adopt RFC 104: Adding a "gdal" front-end command line interface Hi, I move t

Re: [gdal-dev] Motion: adopt RFC 103 - OGR_SCHEMA open option

2024-11-29 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: perjantai 29. marraskuuta 2024 19.41 Vastaanottaja: ElPaso ; gdal-dev@lists.osgeo.org Aihe: Re: [gdal-dev] Motion: adopt RFC 103 - OGR_SCHEMA open option Are PSC members shy or too busy with turkeys ;-) ? In

[gdal-dev] Does writing GeoJSON need to be so slow?

2024-11-28 Thread Rahkonen Jukka via gdal-dev
Hi, I was comparing some alternative scenarios for data exports, and I was a bit surprised when I noticed that GeoJSON output from ogr2ogr is really slow. I used these lake polygons as test data https://wwwd3.ymparisto.fi/d3/gis_data/spesific/ranta10jarvet.zip and I tested on Windows with GDAL

Re: [gdal-dev] Will gdal try to write these two tags when creating tif file?

2024-11-25 Thread Rahkonen Jukka via gdal-dev
Hi, I had a try by creating a 6-bit COG gdal_translate -of cog -co nbits=6 P4433H.tif 6bit.tif tiffinfo shows: TIFF Directory at offset 0xc0 (192) Image Width: 12000 Image Length: 12000 Tile Width: 512 Tile Length: 512 Resolution: 0.393677, 0.393677 pixels/cm Bits/Sample: 6 but the MinSa

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-22 Thread Rahkonen Jukka via gdal-dev
e -Jukka- Lähettäjä: Michael Sumner Lähetetty: perjantai 22. marraskuuta 2024 11.10 Vastaanottaja: Rahkonen Jukka Aihe: Re: [gdal-dev] Issue with the STACIT usage examples On Fri, 22 Nov 2024, 03:52 Rahkonen Jukka via gdal-dev, mailto:gdal-dev@lists.osgeo.org>> wrote: Understood, and

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Rahkonen Jukka via gdal-dev
D&reserved=0 > search? > collections=naip&bbox=-100,40,-99,41&datetime=2019-01-01T00:00:00Z%2F..":asset=image' > > On 11/21/24 05:15, Rahkonen Jukka via gdal-dev wrote: >> gdalinfo "STACIT:\ >> "https://pl/ >> anetarycom

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Rahkonen Jukka via gdal-dev
Understood, and good reason to start using the new gdalinfo convenience option "-sd" for selecting sub-datasets by their index. gdalinfo "STACIT:\https://paituli.csc.fi/geoserver/ogc/stac/v1/search?collections=corine_land_cover_at_geocubes\

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Rahkonen Jukka via gdal-dev
Hi Even, The syntax of the alternative command is clearer for my mind, and it works for me with GDAL 3.11dev (OSGeo4W). I tried first GDAL 3.9.3 but it failed. There is another minor inconvenience but I can live with it. I can get a list of subdatasets with gdalinfo "STACIT:\"https://paituli.c

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Rahkonen Jukka via gdal-dev
.osgeo.org' (gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org>) mailto:gdal-dev@lists.osgeo.org>> Aihe: Re: [gdal-dev] Issue with the STACIT usage examples Hi Jukka, Those are errors from your the Windows command prompt. You will need to escape or enclose some specia

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Rahkonen Jukka via gdal-dev
onen Jukka Kopio: 'gdal-dev@lists.osgeo.org' (gdal-dev@lists.osgeo.org) Aihe: Re: [gdal-dev] Issue with the STACIT usage examples Hi Jukka, Those are errors from your the Windows command prompt. You will need to escape or enclose some special characters like the ampersands. On Thu, 21

[gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Rahkonen Jukka via gdal-dev
Hi, The examples in https://gdal.org/en/latest/drivers/raster/stacit.html with &bbox in the search parameters may not work as they have used to work. For example: gdalinfo "STACIT:\ "https://planetarycomputer.microsoft.com/api/stac/v1/search?collections=naip&bbox=-100,40,-99,41&datetime=2019-01-

Re: [gdal-dev] GDAL, HDF4 and MODIS L1B data

2024-11-11 Thread Rahkonen Jukka via gdal-dev
Hi, I can't help you with building GDAL but I can show where to learn the difference between --formats and --format: https://gdal.org/en/latest/programs/raster_common_options.html#raster-common-options -Jukka Rahkonen- Lähettäjä: Hernán De Angelis Lähetetty: maanantai 11. marraskuuta 2024 14.

Re: [gdal-dev] GDAL, HDF4 and MODIS L1B data

2024-11-11 Thread Rahkonen Jukka via gdal-dev
Hi, Have you checked with gdalinfo if you have managed to build the HDF4 driver? gdalinfo --format hdf4 Your test file opens for me with GDAL from OSGeo4W. -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Hernán De Angelis via gdal-dev Lähetetty: maanantai 11. marraskuuta 2024 13.37 Vastaanottaj

Re: [gdal-dev] How to locate where the raster min and max values are?

2024-11-05 Thread Rahkonen Jukka via gdal-dev
Hi, Very nice, seems that you both took the challenge very seriously. Now an advanced use case came into my mind, and it is about finding extreme values of sensor data within a polygon. Brute force method is to pre-process the raster and burn nodata into the exterior of the study area with gdal

Re: [gdal-dev] Motion: approve GDAL 3.10.0 RC3 as 3.10.0 release

2024-11-04 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: maanantai 4. marraskuuta 2024 14.28 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: approve GDAL 3.10.0 RC3 as 3.10.0 release Hi, I believe RC3 is good to go, s

Re: [gdal-dev] 2024 GDAL Users Survey

2024-10-30 Thread Rahkonen Jukka via gdal-dev
And announce the survey in the OSGeo community news https://www.osgeo.org/ -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Edouard Choinière via gdal-dev Lähetetty: keskiviikko 30. lokakuuta 2024 17.49 Vastaanottaja: Howard Butler Kopio: dev gdal Aihe: Re: [gdal-dev] 2024 GDAL Users Survey Wha

Re: [gdal-dev] 2024 GDAL Users Survey

2024-10-30 Thread Rahkonen Jukka via gdal-dev
Hi, Certainly there are lots of GDAL command line users who run on Windows. Using GDAL on Windows as an end user has been super easy for me since I found FWTools with simple unzip-and-run installation. MS4W brought GDAL tools in the similar way together with Mapserver. Then the Gisinternals bin

Re: [gdal-dev] How to locate where the raster min and max values are?

2024-10-30 Thread Rahkonen Jukka via gdal-dev
ia gdal-dev mailto:gdal-dev@lists.osgeo.org>> wrote: It ain't pretty or efficient, but it's cheap. Here's min value. Remove 'r' from sort for max value: gdal2xyz.py -csv -skipnodata source.tif /dev/stdout | grep -v done | sort -rnk 3,3 -t "," | tail -1 result: -116.9

[gdal-dev] How to locate where the raster min and max values are?

2024-10-29 Thread Rahkonen Jukka via gdal-dev
Hi, I would like to know the georeferenced coordinates of the min and max values of a DEM file. Even better if I could forward them into a vector file. If the minimum or maximum happens to be on a flat area like seabed I would be happy with the first pixel at the moment. By copy-pasting from H

Re: [gdal-dev] Mollweide to plate_carree

2024-10-29 Thread Rahkonen Jukka via gdal-dev
Hi, I tried to go from a Natural Earth world map in EPSG:4326 into Mollweide this way: gdalwarp -t_srs "+proj=moll +lon_0=0 +datum=WGS84" HYP_50M_SR_W.tif molltest.tif The warped image has corner coordinates: Corner Coordinates: Upper Left (-18040095.696, 9020047.848) Lower Left (-18040095.696

Re: [gdal-dev] Mollweide to plate_carree

2024-10-28 Thread Rahkonen Jukka via gdal-dev
Hi, I do not really know how to georeference such Mollweide image, but certainly it is not with -a_ullr -180 90 180 -90. The upper-left and lower-right corners mean the corners of the raster, and both those corners are on the black area outside the Earth. Look at the earth-egg and you can imagi

Re: [gdal-dev] ogr2ogr for downloading extracts from overturemaps

2024-10-25 Thread Rahkonen Jukka via gdal-dev
Hi, Your command took 110 seconds to run from Finland with "GDAL 3.10.0dev-b6edb5191e, released 2024/10/07". There are 827 features in the "type=water" table. -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: torstai 24. lokakuuta 2024 23.39 Vastaanottaja: Va

Re: [gdal-dev] How to use JPEGXL in TIFF right?

2024-10-25 Thread Rahkonen Jukka via gdal-dev
00 PM Rahkonen Jukka via gdal-dev mailto:gdal-dev@lists.osgeo.org>> wrote: Hi, I made some tests about using JPEGXL (JXL) compression in GeoTIFF. I am interested in lossless compression. So far I have learned that stripes are not good, but results from tiled TIFFs are promising. The G

[gdal-dev] How to use JPEGXL in TIFF right?

2024-10-24 Thread Rahkonen Jukka via gdal-dev
Hi, I made some tests about using JPEGXL (JXL) compression in GeoTIFF. I am interested in lossless compression. So far I have learned that stripes are not good, but results from tiled TIFFs are promising. The GeoTIFF driver manual has a warning about WEBP compression: "There is a significant t

Re: [gdal-dev] Motion: Renew Alessandro Pasotti GDAL Maintainer Contract

2024-10-23 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Howard Butler via gdal-dev Lähetetty: keskiviikko 23. lokakuuta 2024 15.32 Vastaanottaja: gdal dev Aihe: [gdal-dev] Motion: Renew Alessandro Pasotti GDAL Maintainer Contract PSC, I am motioning to renew Alessandro

Re: [gdal-dev] Motion: adopt RFC 102: Embedding resource files into libgdal

2024-10-17 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: torstai 17. lokakuuta 2024 14.03 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: adopt RFC 102: Embedding resource files into libgdal Hi, Motion: adopt RFC 102:

Re: [gdal-dev] Motion: approve GDAL 3.9.3 RC1 as 3.9.3 release

2024-10-10 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: torstai 10. lokakuuta 2024 16.34 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: approve GDAL 3.9.3 RC1 as 3.9.3 release Hi, Motion: approve GDAL 3.9.3 RC1 as 3

Re: [gdal-dev] [EXTERNAL] Re: GPKG geometry column name expectations with sqlite dialect

2024-09-30 Thread Rahkonen Jukka via gdal-dev
This works for me: ogrinfo -sql "select count(st_area(geom)) from rakennus" mtkmaasto.gpkg OGRFeature(SELECT):0 count(st_area(geom)) (Integer) = 5517708 "select st_area(layer.geom)" feels like a blind shot, or have you seen that it works with some database? -Jukka Rahkonen- Lähettäjä: gdal-

Re: [gdal-dev] [ERROR]GDAL 3.8.4 on Ubuntu 24.04 could not warp after minutes, but GDAL 3.4.1 on Ubuntu 22.04 can?

2024-09-17 Thread Rahkonen Jukka via gdal-dev
Hi, Out of curiosity, the source file contains one single pixel. Is there a real use case, or are you just experimenting? -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Huu Bang Pham via gdal-dev Lähetetty: tiistai 17. syyskuuta 2024 17.18 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-de

Re: [gdal-dev] WMS supported SRS

2024-09-13 Thread Rahkonen Jukka via gdal-dev
Hi, GDAL is open source, of course you can open a feature request. It will then be implemented, closed, of left open eternally. What do you plan to write into the feature request? I think that using the CRS of the additional BoundingBox is a good default and best for the users when they want t

Re: [gdal-dev] WMS supported SRS

2024-09-12 Thread Rahkonen Jukka via gdal-dev
Hi, Your suggestion to utilize the additional layer BBOXes if they exist feels good to me, and better than to use the first advertised SRS from the root level. Beyond that what can be done with parsing the GetCapabilities is limited in my mind, because all projections which are supported may no

Re: [gdal-dev] Motion: approve RFC 101 "Raster dataset read-only thread-safety"

2024-09-11 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Even Rouault via gdal-dev Lähetetty: keskiviikko 11. syyskuuta 2024 22.27 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] Motion: approve RFC 101 "Raster dataset read-only thread-safety" Hi, I move to app

Re: [gdal-dev] Motion: Renew Even Rouault GDAL Maintainer Contract

2024-09-11 Thread Rahkonen Jukka via gdal-dev
+1 -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Howard Butler via gdal-dev Lähetetty: torstai 12. syyskuuta 2024 5.24 Vastaanottaja: gdal dev Aihe: [gdal-dev] Motion: Renew Even Rouault GDAL Maintainer Contract PSC, I am motioning to renew Even's maintainer con

Re: [gdal-dev] Ignore content-length in vsicurl?

2024-09-10 Thread Rahkonen Jukka via gdal-dev
Hi, Have you tried with configuration option "CPL_VSIL_CURL_USE_HEAD=[YES/NO]: Defaults to YES. Controls whether to use a HEAD request when opening a remote URL." -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Daniel Evans via gdal-dev Lähetetty: tiistai 10. syyskuuta 2024 16.57 Vastaanottaja

Re: [gdal-dev] WMS supported SRS

2024-09-10 Thread Rahkonen Jukka via gdal-dev
Hi * I meant to use CRSs only reported by GetCapabilities. I haven't seen that GetCapabilities returns so many (6782) possible projections... I was meaning the same, CRSs reported in GetCapabilities. I used a search engine with phrase "service=WMS&version=1.3.0" and found in three minutes

Re: [gdal-dev] WMS supported SRS

2024-09-10 Thread Rahkonen Jukka via gdal-dev
Hi, WMTS typically supports a rather small number of tilematrices and tiles are usually cached, so it makes a lot of sense to advertise the available matrices and utilize them. On the other hand WMS maps are created on-the-fly and there is very low technical cost on the server side to support h

Re: [gdal-dev] WMTS request error

2024-09-03 Thread Rahkonen Jukka via gdal-dev
Hi, About navigating the documentation, configuration options are needed very often. Now they are somewhat hidden in the front page https://gdal.org/en/latest/index.html. Maybe Configuration options should appear as a title directly in the table of contents, and not under the title "User", tha

  1   2   >