Re: [gdal-dev] [EXT] How to build STAC of local raster files?

2023-02-13 Thread Vincent Sarago
ding those right: rio stac is for adding individual entries in a > catalog, but the process of locating the items to feed it is a homework > exercise. Does it know to check if the record exists already? Can it create a > catalog from scratch, or does that have to exist already? >

Re: [gdal-dev] How to build STAC of local raster files?

2023-02-13 Thread Vincent Sarago
For creating STAC Items you can look at https://github.com/developmentseed/rio-stac (disclaimer I’m the author), you can also have a look at https://github.com/stac-utils/pystac for creating items and catalog Here is a quick how to about how to create items and collection and ingesting them to

Re: [gdal-dev] AWS Lambda layer with GDAL python bindings

2023-02-08 Thread Vincent Sarago
Sharing what I sent to Ari directly (forgot to anser to all) Hi Ari, You can have a look at https://github.com/lambgeo/docker-lambda It doesn’t provide any python bindings but if you follow https://github.com/lambgeo/docker-lambda#2-advanced-need-other-dependencies you can create a lambda pac

Re: [gdal-dev] Enabling default compression for COG ?

2021-09-30 Thread Vincent Sarago
+1 I think it’s reasonable to have a default compression. In rio-cogeo I’ve set the default to `DEFLATE` but that’s was a personal preference. Vincent > On Sep 30, 2021, at 3:46 PM, Even Rouault wrote: > > Hi, > > should we enable a default compression scheme for the COG driver ? I've heard

[gdal-dev] Supported Overview resampling for COG

2021-04-15 Thread Vincent Sarago
Bonjour/Hi, While I was working on https://github.com/mapbox/rasterio/issues/2153 (add missing RMS resampling method for overviews in rasterio) I wanted to double check which resampling methods were actually supported. In gdaladdo, the doc says

Re: [gdal-dev] COG + javascript + openlayers

2021-04-13 Thread Vincent Sarago
:-) Sorry Javier, and thanks for the ping Patrick. Javier, I’ve invited you to the cogeotiff slack channel, which might just be easier to contact people working on COG and dynamic tiling. https://developmentseed.org/titiler/dynamic_tiling/

Re: [gdal-dev] Prevent GDAL reads for .aux or any other s3 objects that do not exist

2021-03-03 Thread Vincent Sarago
Hi Darren You can do this by setting `GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR` or by narrowing the allowed extension with "CPL_VSIL_CURL_ALLOWED_EXTENSIONS=.tif" Kyle is working on some docs that explains those env in TiTiler: - https://github.com/developmentseed/titiler/blob/0a5288de30845865256

Re: [gdal-dev] COG - RGBI

2020-05-08 Thread Vincent Sarago
I guess you mean RGB and I for Infra-red ? Anyway the answer will be NO. JPEG only allow 3 bands + a bit mask (same for Webp). For raster with more than 3 bands there is no real option to get compression (with loss) as high as with JPEG or WEBP . > Le 8 mai 2020 à 15:08, Travis Kirstine a éc

Re: [gdal-dev] GDAL versions Vs PROJ versions

2020-05-07 Thread Vincent Sarago
> Help to improve them is always welcome (hint hint!) :-) I’ll see what I can do. I know that if we start adding PROJ version docs people may also ask for GEOS and more other libs. > I'd strongly advise using either 6.3.2 or 7.0.1 for best experience Thanks Even this is really helpful, I was al

Re: [gdal-dev] GDAL versions Vs PROJ versions

2020-05-07 Thread Vincent Sarago
e the docs a bit more clear ? Regards, Vincent > Le 7 mai 2020 à 10:40, Greg Troxel a écrit : > > Vincent Sarago writes: > >> Maybe this is a totally dumb question and there might be already a doc >> somewhere (which I couldn’t find), but what are the min (and or max?)

[gdal-dev] GDAL versions Vs PROJ versions

2020-05-07 Thread Vincent Sarago
Dear GDAL devs, Maybe this is a totally dumb question and there might be already a doc somewhere (which I couldn’t find), but what are the min (and or max?) PROJ version for let say gdal2.4 / gdal3.0 / gdal3.1 ? Regards, Vincent ___ gdal-dev mailing

Re: [gdal-dev] Faster gdalinfo from COG

2020-01-08 Thread Vincent Sarago
Hi Jukka, The time you are seeing is related to your configuration and not specifically to the file itself. If you set `GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR` in your env, you’ll see that gdalinfo will be much faster. ``` $ time GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR gdalinfo /vsicurl/http:

Re: [gdal-dev] GDAL 3 + PROJ 6 performance issue in CENTOS

2019-11-28 Thread Vincent Sarago
Again Even you are my hero, ``` $ sqlite3 --version 3.7.17 2013-05-20 00:56:22 118a3b35693b134d56ebd780123b7fd6f1497668 ``` Will try to update and see how it goes, Thanks a lot > Le 28 nov. 2019 à 15:34, Even Rouault a écrit : > >> The full discovery can be seen in >> https://github.com/Remo

[gdal-dev] GDAL 3 + PROJ 6 performance issue in CENTOS

2019-11-28 Thread Vincent Sarago
Dear community, I hope some of you might be of help here. For weeks I’ve been trying to build CENTOS docker image (for AWS Lambda) for GDAL 3 + PROJ 6 but I stumbled into a strange behavior making my processes a couple time slower than with gdal 2. I’m using those images for dynamic tiling (war

Re: [gdal-dev] [COG] Upcoming Cloud Optimized Geotiff (COG) related enhancements

2019-06-11 Thread Vincent Sarago
Thanks Even > Le 11 juin 2019 à 11:20, Even Rouault a écrit : > > Vincent, > >> Just a quick note. By reading the docs it seems the overviews will be >> created by default except if OVERVIEWS=FORCE_USE_EXISTING is set and if the >> input file doesn’t have overviews. The specs make overviews op

Re: [gdal-dev] [COG] Upcoming Cloud Optimized Geotiff (COG) related enhancements

2019-06-11 Thread Vincent Sarago
Thanks Even, Just a quick note. By reading the docs it seems the overviews will be created by default except if OVERVIEWS=FORCE_USE_EXISTING is set and if the input file doesn’t have overviews. The specs make overviews optional thus the OVERVIEWS option usage seems a bit odd. TBH, I’m 100% wi

Re: [gdal-dev] Upcoming Cloud Optimized Geotiff (COG) related enhancements

2019-05-29 Thread Vincent Sarago
Thanks for the hard work Even. > Le 29 mai 2019 à 09:48, Even Rouault a écrit : > > Hi, > > I've submitted a PR per https://github.com/OSGeo/gdal/pull/1600 which > implements the low-level work of below points 4) and 5). To get all benefits, > this requires GDAL to be built against internal

Re: [gdal-dev] RFC 74: Migrate gdal.org to Sphinx

2019-05-19 Thread Vincent Sarago
Thanks for working on this, it looks awesome! > Le 19 mai 2019 à 12:54, Howard Butler a écrit : > > All, > > A successful OSGeo Community Sprint [1] saw myself, Even Rouault, Mateusz > Loskot, and Dan Baston furiously migrating and organizing gdal.org > content into a Sphi

Re: [gdal-dev] Upcoming Cloud Optimized Geotiff (COG) related enhancements

2019-05-03 Thread Vincent Sarago
Hi Even, This looks great and I’m really looking for point 4 and 5. > Le 3 mai 2019 à 04:04, Even Rouault a écrit : > > Hi, > > I wanted to mention COG related enhancements (*) that I will work on in GDAL > in the coming weeks, so interested parties are aware of them and can > potentially rea

Re: [gdal-dev] GDAL Docker images

2019-04-25 Thread Vincent Sarago
This is great, thanks Even. Because I’m mostly working with AWS Lambda, I might open a PR to add a CENTOS based image (ref: https://github.com/RemotePixel/amazonlinux-gdal ) if this is ok ;-) Vincent > Le 25 avr. 2019 à 15:38, Even Rouault a

Re: [gdal-dev] VRT and COG

2018-10-26 Thread Vincent Sarago
Thanks Even ;-) > Le 26 oct. 2018 à 10:11, Even Rouault a écrit : > > On vendredi 26 octobre 2018 09:09:34 CEST Vincent Sarago wrote: >> Goal: I’d like to see if there could be a way to use VRT of COG to create a >> mbtile like system to read tiles. >> >> If

[gdal-dev] VRT and COG

2018-10-26 Thread Vincent Sarago
Goal: I’d like to see if there could be a way to use VRT of COG to create a mbtile like system to read tiles. If I remember well when a VRT points to COG you still need to create external overviews for the whole VRT because it won’t fetch de overviews from the COG itself when trying decimated

[gdal-dev] Missing Alpha flag for Warped VRT Single band UInt16 dataset

2018-07-09 Thread Vincent Sarago
Previous discussion can be found in https://github.com/mapbox/rasterio/issues/1403 When creating Warped VRT of a 1band Uint16 dataset with internal mask, gdal creates an Alpha band but don’t seems to set the Alpha/Mask flags. ___