rio-tiler 7.7.2__py3-none-any.whl → 7.7.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
rio_tiler/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """rio-tiler."""
2
2
 
3
- __version__ = "7.7.2"
3
+ __version__ = "7.7.3"
4
4
 
5
5
  from . import ( # noqa
6
6
  colormap,
rio_tiler/reader.py CHANGED
@@ -308,7 +308,7 @@ def read(
308
308
  data,
309
309
  bounds=out_bounds,
310
310
  crs=dataset.crs,
311
- band_names=[f"b{idx}" for idx in indexes],
311
+ band_names=[dataset.descriptions[ix - 1] or f"b{idx}" for idx in indexes],
312
312
  dataset_statistics=dataset_statistics,
313
313
  metadata=dataset.tags(),
314
314
  )
@@ -396,7 +396,7 @@ def part(
396
396
  )
397
397
 
398
398
  # Use WarpedVRT when Re-projection or User VRT Option (cutline)
399
- if (dst_crs != src_dst.crs) or vrt_options:
399
+ if (dst_crs != src_dst.crs) or vrt_options or isinstance(src_dst, WarpedVRT):
400
400
  window = None
401
401
  vrt_transform, vrt_width, vrt_height = get_vrt_transform(
402
402
  src_dst,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rio-tiler
3
- Version: 7.7.2
3
+ Version: 7.7.3
4
4
  Summary: User friendly Rasterio plugin to read raster datasets.
5
5
  Project-URL: Homepage, https://cogeotiff.github.io/rio-tiler/
6
6
  Project-URL: Documentation, https://cogeotiff.github.io/rio-tiler/
@@ -1,4 +1,4 @@
1
- rio_tiler/__init__.py,sha256=qgozgds0oDzyt-b-79BSkwwmkzLMbdya9_nlC4v_3J8,192
1
+ rio_tiler/__init__.py,sha256=Vhc_GMsuVgc2chtEzjxWrlHmVlikq_Ye-72LiO2vKus,192
2
2
  rio_tiler/colormap.py,sha256=E2FYp6AysmnSAhj2901XUrgB2q-8OvO8zoe_hmM_UZU,11186
3
3
  rio_tiler/constants.py,sha256=55i-7JZDupTXZdLgxL03KsgM4lAzuGuIVP1zZKktzp0,426
4
4
  rio_tiler/errors.py,sha256=dnaAHPc5VL7SNKXm00gzlrU_4XIuw5rwzD-9Q2kFJsc,2018
@@ -7,7 +7,7 @@ rio_tiler/logger.py,sha256=RR8lnW3uVXkFkPa3nNJS_tTndmdiNNDVXpCDGDxGf0A,81
7
7
  rio_tiler/models.py,sha256=jmFmqrJghjLlPdxceccGvhhsQg9zqkIZUbST6BzAJbQ,27878
8
8
  rio_tiler/profiles.py,sha256=EAx2JdcaOcMw5PZjxbCqQBXXWMac9mjtpHoVFPJEDNQ,1562
9
9
  rio_tiler/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- rio_tiler/reader.py,sha256=C8IQY91PeBA-p14sDVFIoDYJKmIPZ1GcvJtJSuHmB4U,25119
10
+ rio_tiler/reader.py,sha256=ioPuwu19qhJvB4TROiiDsYWkBjbp3-eJvXuDNKMSri0,25185
11
11
  rio_tiler/tasks.py,sha256=tiQo24rZHBVxids40QkNInuMzDFEei08zYW3I_pkSVE,3157
12
12
  rio_tiler/types.py,sha256=R9XOL-EEb_cwbD4SFNVmViXC84D2p4BEVNCXg0nlh7I,1684
13
13
  rio_tiler/utils.py,sha256=iWBm0uoWAbZ1dna5sT1JtjmdvwwVpvB1_uLr0zYbL5M,30611
@@ -235,8 +235,8 @@ rio_tiler/mosaic/reader.py,sha256=KSk6DaUJRN4Ye8lJ-V12sl5i2FN6y9o4wS1GzVSmtgU,10
235
235
  rio_tiler/mosaic/methods/__init__.py,sha256=tgkXM9skaTLXIm5QFoheOEznQXM97KGflcAWHfkrt1g,612
236
236
  rio_tiler/mosaic/methods/base.py,sha256=9YZJWVRwH5Fk9KO9q5CW52Q8Mf60tAJ21oM4ixEDXBo,1424
237
237
  rio_tiler/mosaic/methods/defaults.py,sha256=P-zSVVgvQ2oRiMchC3bMqIYLTX7H3743jsD_VmqStxM,7642
238
- rio_tiler-7.7.2.dist-info/METADATA,sha256=hVCqT4Saao9_6nJymufKsikvlioeYRSBUtSEJdOYN68,12233
239
- rio_tiler-7.7.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
240
- rio_tiler-7.7.2.dist-info/licenses/AUTHORS.txt,sha256=FCVd4Tjg-8syl0ZugCunpXER8X2-XonW2ZfllyTnRvE,158
241
- rio_tiler-7.7.2.dist-info/licenses/LICENSE,sha256=vq8Tt4KoYQT9JxAjQ4yXMmmhFYRTsBRgrOj-ao-bC5o,1517
242
- rio_tiler-7.7.2.dist-info/RECORD,,
238
+ rio_tiler-7.7.3.dist-info/METADATA,sha256=GFl2RykFujLPFSNzQT-uTwHMmZg10Z-tT81N_bIp-g0,12233
239
+ rio_tiler-7.7.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
240
+ rio_tiler-7.7.3.dist-info/licenses/AUTHORS.txt,sha256=FCVd4Tjg-8syl0ZugCunpXER8X2-XonW2ZfllyTnRvE,158
241
+ rio_tiler-7.7.3.dist-info/licenses/LICENSE,sha256=vq8Tt4KoYQT9JxAjQ4yXMmmhFYRTsBRgrOj-ao-bC5o,1517
242
+ rio_tiler-7.7.3.dist-info/RECORD,,