本文簡要介紹 python 語言中 arcgis.raster.RasterInfo.from_dict
的用法。
用法:
from_dict(raster_info_dict)
from_dict
方法可用於從柵格信息字典初始化RasterInfo
對象。例子:
# Usage Example : rinfo = RasterInfo() rinfo.from_dict({'bandCount': 3, 'extent': {"xmin": 4488761.95, "ymin": 5478609.805, "xmax": 4489727.05, "ymax": 5479555.305, "spatialReference": { "wkt": "PROJCS["Deutsches_Hauptdreiecksnetz_Transverse_Mercator", GEOGCS["GCS_Deutsches_Hauptdreiecksnetz",DATUM["D_Deutsches_Hauptdreiecksnetz", SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0.0], UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"], PARAMETER["false_easting",4500000.0],PARAMETER["false_northing",0.0], PARAMETER["central_meridian",12.0],PARAMETER["scale_factor",1.0], PARAMETER["latitude_of_origin",0.0],UNIT["Meter",1.0]]" }}, 'pixelSizeX': 0.0999999999999614, 'pixelSizeY': 0.1, 'pixelType': 'U8'})
相關用法
- Python ArcGIS RasterInfo用法及代碼示例
- Python ArcGIS Raster.remove_variables用法及代碼示例
- Python ArcGIS Raster.export_image用法及代碼示例
- Python ArcGIS Raster.get_dimension_values用法及代碼示例
- Python ArcGIS Raster.get_dimension_attributes用法及代碼示例
- Python ArcGIS Raster.read用法及代碼示例
- Python ArcGIS Raster.append_slices用法及代碼示例
- Python ArcGIS Raster.summarize用法及代碼示例
- Python ArcGIS RasterManager.add用法及代碼示例
- Python ArcGIS Raster.get_variable_attributes用法及代碼示例
- Python ArcGIS RasterCollection.filter_by_raster_property用法及代碼示例
- Python ArcGIS Raster.get_dimension_names用法及代碼示例
- Python ArcGIS Raster.get_statistics用法及代碼示例
- Python ArcGIS Raster.from_stac_item用法及代碼示例
- Python ArcGIS Raster.set_colormap用法及代碼示例
- Python ArcGIS Raster.set_histograms用法及代碼示例
- Python ArcGIS Raster.get_property用法及代碼示例
- Python ArcGIS RasterCollection.filter_by_time用法及代碼示例
- Python ArcGIS Raster用法及代碼示例
- Python ArcGIS RasterCollection用法及代碼示例
- Python ArcGIS Raster.set_variable_attributes用法及代碼示例
- Python ArcGIS RasterCollection.filter_by_geometry用法及代碼示例
- Python ArcGIS RasterManager.update用法及代碼示例
- Python ArcGIS Raster.save用法及代碼示例
- Python ArcGIS Raster.set_property用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 arcgis.raster.RasterInfo.from_dict。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。