Comments (10)
Thanks for the issue @drwelby , any chance you can share the vrt (+tiffs) or create dummy data ?
from rio-cogeo.
Yes, I should be able to copy some data into a public bucket.
from rio-cogeo.
rio cogeo create /vsis3/rio-cogeo-vrt-sample/rio-cogeo-s3.vrt ./rcv-test.tif -p jpeg
of course this works locally, so I'll have to investigate our process container to see why it generates invalid COGs.
from rio-cogeo.
@drwelby could you check rasterio and gdal version ?
from rio-cogeo.
rasterio==1.0.26
rio-cogeo==1.1.0
pygdal==2.1.2.5
libgdal20=2.1.2
libgdal-dev=2.1.2
is what is installed in the container, but I should check to make sure nothing is getting downgraded
Locally I have:
GDAL 2.4.1
rasterio 1.0.24
from rio-cogeo.
@drwelby This is strange and it seems to me /vsis3/bucket/my.tif
is not the output of rio cogeo create
. I've just tested and it works fine on my side (even if it really slow).
To be honest, It might be faster to do
gdal_translate my.vrt my.tif -co COMPRESS=JPEG
rio cogeo create my.tif my_cog.tif -p jpeg
from rio-cogeo.
We upgraded to GDAL 2.4.1 in the container and now valid COGs are being created.
Thanks for the suggestion of adding a gdal_translate
step - we'll benchmark it and see if it provides any gains.
from rio-cogeo.
Tried it out and writing the intermediate file turned out to be ~5% slower in our setup.
from rio-cogeo.
@drwelby are we good to close here ?
from rio-cogeo.
Closing, problem on our end.
from rio-cogeo.
Related Issues (20)
- Displaying continuous data with multiple transparency values?
- add `ZOOM_LEVEL` creation option for web optimized COG
- installation give error
- Creating a COG in place rather than generating a new file? HOT 1
- add option to forward namespaced metadata
- add python 3.10 support
- All Console output is standard error HOT 6
- COG convesion succeeds with GDAL but not with rio-cogeo HOT 4
- Change folder of "execution" HOT 11
- NetCDF to CoG workflow
- GeoTIFF with invalidated optimizations shows up as valid HOT 1
- installation issues - coggeo command HOT 3
- limit pydantic to `1.0` HOT 3
- Shift/zoom after updating to >=4 HOT 2
- Pydantic 2.0 incompatible with morecantile HOT 1
- Unexpected GET Requests Count with web-optimized COG
- Clarify arguments used only when producing "web-optimized" COGs HOT 4
- set blocksize from the TileMatrixSet
- COG validation fails for files that are SPARSE and have sparse edge tiles in the overviews. HOT 4
- Colormap extended to 255 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rio-cogeo.