Are data with "PIXELTYPE=SIGNEDBYTE" supported? #2926
Replies: 3 comments 9 replies
-
@nicolasvila Can you share some reproductible example (simple rio-tiler read block), and if possible a data sample? if you're note confortable sharing your dataset you can either use https://github.com/cogeotiff/rio-faux or send it directly to me vincent@developmentseed.org 🙏 The error message is kinda weird because I don't see how the bounds could be a list and a float. |
Beta Was this translation helpful? Give feedback.
-
Hi Vincent, |
Beta Was this translation helpful? Give feedback.
-
Strange. I'm trying to stream it from a S3 storage. You can try from this link My versions:
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm not sure whether this is a RasterIO or GDAL issue but I'm facing cascading issues with RasterIO (with rio_tiler plugin) and Titiler while handling images that have this particular pixel type. Seems that the image bands are considered to have different pixels' types and returns a list. According to the metadata this is obviously not the case as we can see in the example below.
## Here's the error message I got
I apologize if this has to be taken into account at the higher (application) level, in that case it would be on rio_tiler or Titiler side which do not expect to receive a list of pixel types (one for each band whereas they are all the same)
Possible linked issue: #2180 and this PR: #1595
This also may be related to this GDAL issue: OSGeo/gdal#2298
GDAL info output on the test COG file
Operating system
Ubuntu 22.04 64 bit
Software versions
rasterio-1.3.8
rio_tiler-4.1.13
GDAL 3.6.4, released 2023/04/17
Beta Was this translation helpful? Give feedback.
All reactions