IPF2ISG - Forum - iMOD
iMOD Forum
IPF2ISG
Kristina Gumgowski, modified 3 Years ago.
IPF2ISG
Youngling Posts: 13 Join Date: 3/18/21 Recent Posts
Hi,
I want to convert a IPF file to an ISG in order to import river data into imod. When I load the converted ISG into imod, the geometry shows and i can use the "ISG show..." options to let me examine the stream direction and such. However, as soon as I select "ISG edit", imod crashes completely. After checking the IPF file, I am pretty sure, that it is in the correct format. Below, I inserted the batch function as well as the header and the first rows of the IPF. Maybe I made a mistake in this part already?
In case you need the whole dataset to reproduce the error let me know.
Has anyone run into a similar issue and/or can help me out?
FUNCTION=IPF2ISG
IPFFILE=C:\Users\Kristina\Documents\hlnug\qgis\gewaesser.ipf
ISGFILE=C:\Users\Kristina\Documents\hlnug\qgis\gewaesser.isg
11958
8
x
y
SEGM_
GEW_I
IWIDT
IBOTT
ISTAG
IPERM
0,txt
457439.7663,5487719.968,300002,0.0,1.5,91.27,93.27,0.1
457467.755,5487729.964,300002,0.0,1.5,91.05416745,93.05416745,0.1
457467.755,5487729.964,300002,1.0,1.5,91.05416745,93.05416745,0.1
457492.7449,5487731.963,300002,1.0,1.5,90.87210684,92.87210684,0.1
457492.7449,5487731.963,300002,2.0,1.5,90.87210684,92.87210684,0.1
457546.7231,5487741.958,300002,2.0,1.5,90.47344384,92.47344384,0.1
.
.
.
.
.
I want to convert a IPF file to an ISG in order to import river data into imod. When I load the converted ISG into imod, the geometry shows and i can use the "ISG show..." options to let me examine the stream direction and such. However, as soon as I select "ISG edit", imod crashes completely. After checking the IPF file, I am pretty sure, that it is in the correct format. Below, I inserted the batch function as well as the header and the first rows of the IPF. Maybe I made a mistake in this part already?
In case you need the whole dataset to reproduce the error let me know.
Has anyone run into a similar issue and/or can help me out?
FUNCTION=IPF2ISG
IPFFILE=C:\Users\Kristina\Documents\hlnug\qgis\gewaesser.ipf
ISGFILE=C:\Users\Kristina\Documents\hlnug\qgis\gewaesser.isg
11958
8
x
y
SEGM_
GEW_I
IWIDT
IBOTT
ISTAG
IPERM
0,txt
457439.7663,5487719.968,300002,0.0,1.5,91.27,93.27,0.1
457467.755,5487729.964,300002,0.0,1.5,91.05416745,93.05416745,0.1
457467.755,5487729.964,300002,1.0,1.5,91.05416745,93.05416745,0.1
457492.7449,5487731.963,300002,1.0,1.5,90.87210684,92.87210684,0.1
457492.7449,5487731.963,300002,2.0,1.5,90.87210684,92.87210684,0.1
457546.7231,5487741.958,300002,2.0,1.5,90.47344384,92.47344384,0.1
.
.
.
.
.
Frans Roelofsen, modified 3 Years ago.
RE: IPF2ISG
Padawan Posts: 51 Join Date: 11/11/13 Recent Posts
Hi Kristina,
Perhaps there is a bug in iMOD. Therefor I tried to reproduce your issue. However, with the data example you provided I was able to create an ISG file and check the content with ISG-EDIT.
> can you share the complete IPF file so I can reproduce the issue?
> check: do you use iMOD5.2 or iMOD5.3?
Kind regards,
Frans
Perhaps there is a bug in iMOD. Therefor I tried to reproduce your issue. However, with the data example you provided I was able to create an ISG file and check the content with ISG-EDIT.
> can you share the complete IPF file so I can reproduce the issue?
> check: do you use iMOD5.2 or iMOD5.3?
Kind regards,
Frans