e3b09654c23d5cf50bcad98c2980caf9bceff1de,rastervision/data/raster_source/default.py,RasterioSourceDefaultProvider,handles,#Any#,22
Before Change
class RasterioSourceDefaultProvider(RasterSourceDefaultProvider):
@staticmethod
def handles(uri):
ext = os.path.splitext(uri)[1]
return ext.lower() in [".tif", ".tiff", ".geotiff", ".png", ".jpg"]
@staticmethod
def construct(uri, channel_order=None):
return rv.RasterSourceConfig.builder(rv.RASTERIO_SOURCE) \
After Change
// Since there are so many types handled by Rasterio/GDAL, the RasterioSource
// will be the catch-all. More specific types can be handled by other
// RasterSources.
return True
@staticmethod
def construct(uri, channel_order=None):
return rv.RasterSourceConfig.builder(rv.RASTERIO_SOURCE) \
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances Project Name: azavea/raster-vision
Commit Name: e3b09654c23d5cf50bcad98c2980caf9bceff1de
Time: 2019-03-26
Author: lewfish@gmail.com
File Name: rastervision/data/raster_source/default.py
Class Name: RasterioSourceDefaultProvider
Method Name: handles
Project Name: ilastik/ilastik
Commit Name: 5ee3708f842d739d6effe24fbb0464c40e1a330d
Time: 2019-07-12
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/opDataSelection.py
Class Name: DatasetInfo
Method Name: pathIsN5
Project Name: ilastik/ilastik
Commit Name: 5ee3708f842d739d6effe24fbb0464c40e1a330d
Time: 2019-07-12
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/opDataSelection.py
Class Name: DatasetInfo
Method Name: pathIsHdf5