Problem to read xyz file in GIS

Discussion about MOHID support tools
matthieu.caillaud@gmail.com
MOHID Beginner
Posts: 4
Joined: Thu Sep 29, 2011 02:28

Problem to read xyz file in GIS

Postby matthieu.caillaud@gmail.com » Thu Nov 03, 2011 06:07

Hello,

I've just installed MODHID 4.9.2 on WINDOWS 7 64 bits.
I can't read my .xyz file to create the bathymetric grid. i got the "invalid xyz file format" error .
I did read the Wiki page about the format of XYZ files (http://www.mohid.com/wiki/index.php?title=XYZ_Points) but it's still not working.
I also tried to download a xyz bathymetric file from ETOPO website and added the header and ending lines (<begin_xyz> and <end_yxz>) but GIS tell me it's an invalid format.

I checked that decimal separator is the point.
Does the blanks between the columns matter ? does the numbers of decimal matter ?

Could anyone help me please or send me a sample of an xyz file ??

Thank you

Matthieu

matthieu.caillaud@gmail.com
MOHID Beginner
Posts: 4
Joined: Thu Sep 29, 2011 02:28

Re: Problem to read xyz file in GIS

Postby matthieu.caillaud@gmail.com » Thu Nov 03, 2011 23:13

It seems that i have a problem with GIS. I tried to read an xyz file that i downloaded from MOHID website (fresh water cylinder test case) and it doesn't work.
Does anyone have some issues with GIS on windows 7 64 bits ?

anamartin98@gmail.com
MOHID User
Posts: 23
Joined: Thu Jan 01, 1970 00:00

Re: Problem to read xyz file in GIS

Postby anamartin98@gmail.com » Sat Nov 05, 2011 14:49

Hello Mathieu
I have Mohid 4.9.2 installed on W7 64 bits and I had never had that problem.
But I suffered some unexplicable problems at the beginning. It was because I hadn't followed the correct installation sequence.

Have you installed Net framework in the version required by Mohid? And Office web components? Check it, please.


Best regards
Ana

frank.maretec@ist.utl.pt
MOHID Guru
Posts: 151
Joined: Thu Jan 01, 1970 00:00
Location: Technical University of Lisbon
Contact:

Re: Problem to read xyz file in GIS

Postby frank.maretec@ist.utl.pt » Tue Nov 08, 2011 22:30

Dear all,

in MOHID GIS you need decimal separator be set to a "." (your case) and no digit grouping symbol (confirm).

Number of decimals don't play a role.
The three columns should be separated by blank spaces (no TABS).

Example:
<begin_xyz>
0.0 500.0 1.0
0.0 100.0 1.2
500.0 1000.0 2.3
...
<end_xyz>

Did you tried to read the file with MOHID Studio? It works well on Windows 7 / 64 bits. With MOHID Studio you don't have to care about the "." setting.

Best regards,
Frank
In order to understand recursivity you must first understand recursivity.

matthieu.caillaud@gmail.com
MOHID Beginner
Posts: 4
Joined: Thu Sep 29, 2011 02:28

Re: Problem to read xyz file in GIS

Postby matthieu.caillaud@gmail.com » Wed Nov 09, 2011 06:24

It's ok !!

My problem was the decimal separator in my regional settings ......
Now it works fine and i can run my first model with mohid!

Thank you for your help and your fast response time

Matthieu


Return to “MOHID Tools”

Who is online

Users browsing this forum: No registered users and 2 guests