-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Band Tif #14
Comments
Thanks so much! The variable dimensions should not be a problem but I do wonder about the driver that is being assigned. If you don't specify a driver manually, Rasterio will just assign one based on the file's extension which appears to be JPEG. This driver is then also used throughout other operations like the clipping which assumes a georeferenced file/appropriate driver (which I suspect is not the case right now). Can you verify the file extension? JPEG is supported by GeoCOCO through GDAL but they're not all created equally (see drivers). You can try manually specifying a different driver when you run How were these images created? I can try it for myself if you are okay with sending me a sample (won't do anything else with it). |
Hey Jasper, i'm feeding a tif file to rasterio in order to produce the COCO dataset, but even so it's trying to output a JPEG. If it can output a tif file without even creating patches that would be even better. Here are a sample of the files i'm using: image.tif = 18 band imagery 256 x 256 ps: i zipped the files because github does not accept the formats. Thanks a lot for the help! |
Hey @jaspersiebring , first of all, congrats on making this library!
I'm trying to convert a set o 18 band TIF files and theirs respective geojson labels but i'm facing some problems when trying to do that.
Each one of my images has 18 bands but their height and width vary a little. When trying to feed the 18 band tif, i end up with the following error:
When trying to feed a 3 band file, i end up with the following error:
This is the code i'm using:
Also, is there a way to feed in a pre-chipped dataset (256x256) in order to create the COCO Dataset?
I already have all tif files and corresponding geojson pre-chipped....
The text was updated successfully, but these errors were encountered: