-
Notifications
You must be signed in to change notification settings - Fork 2
IO and Recorder
elwina edited this page Jan 21, 2023
·
1 revision
处理json输入
| name | type | require | description |
|---|---|---|---|
| outListConf | bool | no | listConf类型 define自带 |
| outJson | bool | no | json类型 define自带 |
| inFile | bool | no | 是否以文件形式输入 |
| inFilepath | string | yes if inFile | 文件输入路径 |
本IO用于文件输入Raster类实例
| name | type | require | description |
|---|---|---|---|
| outRasterBase | bool | no | RasterBase define 自带,提供RasterBase输出 |
| inFilePath | string | yes | 栅格文件位置 |
| inDriver | string | yes | 确定栅格文件格式(gdal):推荐为"AAIGrid"格式,将使用自解码。其他格式采用gdal解码,通过测试的格式有:"GTiff" |
本IO用于将geojson格式输入Vector类实例
| name | type | require | description |
|---|---|---|---|
| outVectorBase | bool | no | VectorBase define 自带 |
| inFilePath | string | yes | 输入矢量文件路径 |
| inGeoType | string | yes | 矢量类型,目前支持"MultiLineString" |
用于file类型输入
| name | type | require | description |
|---|
类型为词典,包含文件类列表,形如:
{
"filename1": "data/file1.txt",
"filename2": "data/file2.json"
}把data的数据直接转换成json数据dump
| name | type | require | description | | ------------- | ------ | ------- |
把栅格实例记录
| name | type | require | description | | ------------- | ------ | ------- |
把矢量数据记录
| name | type | require | description | | ------------- | ------ | ------- |
把file类型的每个文件复制到output中
| name | type | require | description |
|---|---|---|---|
| all | bool | no | 是否记录全部的文件 |
| filelist | string[] | yes if all false | 记录哪些文件,仅仅在没有all或者all为false是生效 |