Writer - DfsuWriter
WriterName: DfsuWriter
This writer writes mesh-based data into DHI's DFSU format (.dfsu).
Converting shapefile to DFSU¶
When the input is a shapefile, each polygon feature becomes a mesh element in the output DFSU file. Feature attributes are written as DFSU items (numeric values only; non-numeric attributes are written as NaN). The resulting DFSU file has a single static timestep.
Only polygon geometries are used; point and line features in the same file are ignored.
{
"projectId": "<projectId>",
"uploadUrl": "<fileUrl>",
"outputDatasetData": {
"name": "<dataset-name>.dfsu"
},
"readerName": "ShpReader",
"writerName": "DfsuWriter"
}