Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
banesullivan committed Apr 8, 2022
1 parent 469a5b2 commit aa87237
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sources/gdal/large_image_source_gdal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,9 @@ def __init__(self, path, projection=None, unitsPerPixel=None, **kwargs):
def _getLargeImagePath(self):
"""Get GDAL-compatible image path.
This will cast the outout to a string and can also handle URLs for use
with GDAL VFS interface.
This will cast the output to a string and can also handle URLs
('http', 'https', 'ftp', 's3') for use with GDAL
`Virtual Filesystems Interface <https://gdal.org/user/virtual_file_systems.html>`_.
"""
if urlparse(str(self.largeImagePath)).scheme in {'http', 'https', 'ftp', 's3'}:
return make_vsi(self.largeImagePath)
Expand Down

0 comments on commit aa87237

Please sign in to comment.