Reader - Mesh

ReaderName: MeshFileReader

This reader can read data from a mesh format. The format has the following characteristics:

  • Header line: one line which contains item type (quantity stored in the Z coordinate), item unit, the number of nodes and information regarding the coordinate system (defined by name or WKT string)
  • Node lines: lines describing the nodes, as many as stated in the header line. The node lines have the form Id X Y Z code, where code is zero for internal nodes, 1 for a node on land boundaries, and larger than one for all other boundaries
  • Element header line: one line of the form numberOfElements maxNumberOfNodesPerElement elementType
  • Element lines: lines describing the elements, as many as stated in the element header line. These lines contain information about the elements in the form Id node1 node2 node3...

The MeshFileReader takes one optional parameter, SRID, which allows the user to override the SRID associated with the dataset.

An example request might look like this:

```js
    {
      projectId: <projectId>,
      uploadUrl: <fileUrl>,
      outputDatasetData: {
        name: <dataset-name>
      },
      readerName: 'MeshFileReader',
      writerName: 'VtuWriter',
      readerParameters: [
        {

        }
      ]
    }
```