Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
-
This is the relevant section from the course "Getting started with MIKE IO" https://dhi.github.io/getting-started-with-mikeio/dfs2.html#projected-coordinates |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a Python Jupyter Notebook script to convert a GeoTIFF file into a DFS2 format. While the script is functioning overall, I have not yet been able to correctly write the geographical information extracted from the GeoTIFF into the resulting DFS2 file. Specifically, I am struggling with the following:
Although I managed to define the map projection by using an existing DFS2 file as a template, my goal is to extract all necessary information directly from the GeoTIFF file, without relying on a DFS2 template.
To support this, I’m sharing the following files for your comments and suggestions:
a) The Jupyter Notebook currently used to process the input GeoTIFF and template DFS2 (note: the template contains the map projection only as a comment)
b) The GeoTIFF files (.tif and .tfw)
c) The DFS2 template
d) The resulting DFS2 file generated by the Jupyter script
I would greatly appreciate your thoughts on how to best extract and apply the spatial metadata from the GeoTIFF to correctly configure the DFS2 file, including orientation and origin.
Looking forward to hearing from you.
Kindest regards,
Alex
Info&data.zip
Beta Was this translation helpful? Give feedback.
All reactions