Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mike21 Driver #470

Merged
merged 25 commits into from
Nov 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ You can use MDAL to load the following file formats:
- [DFSU*](https://www.dhigroup.com):DHI Flexible File Format (External Driver)
- [DFS2*](https://www.dhigroup.com):DHI Grid Series File (External Driver)
- [H2i*](https://github.com/d2hydro/H2i_code_factory/blob/main/docs/data_format.md): Outputs of the H2i modelling package
- [MIKE 21](https://www.xmswiki.com/wiki/SMS:MIKE_21_*.mesh): Mesh Text/plain file with *.mesh extension

\* Data lazy loaded

Expand All @@ -76,6 +77,7 @@ You can use MDAL to load the following file formats:
| DFSU | READ-ONLY | N/A | NO | READ-ONLY | READ-ONLY | YES |
| DFS2 | READ-ONLY | N/A | NO | READ-ONLY | N/A | YES |
| H2i | READ-ONLY | NO | NO | READ-ONLY | N/A | YES |
| Mike21 | READ-WRITE | N/A | N/A | N/A | N/A | N/A |

# Standalone Installation

Expand Down
12 changes: 12 additions & 0 deletions docs/source/drivers/mike21.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. _driver.mike21:

================================================================================
Mike21 -- Text/plain file
================================================================================

.. shortname:: Mike21

.. built_in_by_default::

MDAL supports reading and writing to Mike21 format. Mike21 is a generic file format to save mesh with triangular and quadrangular faces. The MIKE 21 program is produced and distributed by the DHI group.
.. _SMS: https://www.xmswiki.com/wiki/SMS:MIKE_21_*.mesh
2 changes: 2 additions & 0 deletions mdal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ SET(MDAL_SOURCES
frmts/mdal_binary_dat.cpp
frmts/mdal_selafin.cpp
frmts/mdal_esri_tin.cpp
frmts/mdal_mike21.cpp
)

SET(MDAL_HEADERS
Expand All @@ -35,6 +36,7 @@ SET(MDAL_HEADERS
frmts/mdal_binary_dat.hpp
frmts/mdal_selafin.hpp
frmts/mdal_esri_tin.hpp
frmts/mdal_mike21.hpp
)

IF(BUILD_PLY)
Expand Down
Loading
Loading