[GiDlist] problems import DEM file in GiD

Hello,

I’m not managing to import a DEM file in GiD v.11.0.3. I’m using the GiD
interface for the library GDAL to import files in /ARC/INFO ASCII GRID
/format (see attachment) and I’m getting the following error:/


STACK TRACE FOR ERROR:

Bad file handle
while executing
“gdal_get_count $fp”
(procedure “GDAL::Read” line 22)
invoked from within
“GDAL::Read $filename”
(procedure “GDAL::ReadW” line 7)
invoked from within
“GDAL::ReadW”
invoked from within
“.gid.menu.button0.m.m.6 invoke active”
(“uplevel” body line 1)
invoked from within
“uplevel #0 [list $w invoke active]”
(procedure “tk::MenuInvoke” line 50)
invoked from within
“tk::MenuInvoke .gid.menu.button0.m.m.6 1”
(command bound to event)
/
/------------------------------------------------------------------------
/
Anyone has already imported a DEM file and could give me some hints on
how to do so?/

/Best regards,
Marco Giometto
-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20130114/9ad7e055/attachment-0001.htm
-------------- next part --------------
ncols 4
nrows 6
xllcorner 0.0
yllcorner 0.0
cellsize 50.0
NODATA_value -9999
-9999 -9999 5 2
-9999 20 100 36
3 8 35 10
32 42 50 6
88 75 27 9
13 5 1 -9999
-------------- next part --------------
A non-text attachment was scrubbed…
Name: gid_popup_window.png
Type: image/png
Size: 31342 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20130114/9ad7e055/attachment-0001.png

It seems a problem of the compilation of the GDAL package on Linux, at least it works well with the Windows x32 version
Which version of GiD 11.0.3 are you using: Linux x32 or x64? and what is your operating system (e.g. Ubuntu x.x, etc)?

Enrique
----- Original Message -----
From: Marco Giometto | EPFL
To: gidlist at listas.cimne.upc.edu
Sent: Monday, January 14, 2013 1:06 PM
Subject: [GiDlist] problems import DEM file in GiD


Hello,

I’m not managing to import a DEM file in GiD v.11.0.3. I’m using the GiD interface for the library GDAL to import files in ARC/INFO ASCII GRID format (see attachment) and I’m getting the following error:


STACK TRACE FOR ERROR:

Bad file handle
while executing
“gdal_get_count $fp”
(procedure “GDAL::Read” line 22)
invoked from within
“GDAL::Read $filename”
(procedure “GDAL::ReadW” line 7)
invoked from within
“GDAL::ReadW”
invoked from within
“.gid.menu.button0.m.m.6 invoke active”
(“uplevel” body line 1)
invoked from within
“uplevel #0 [list $w invoke active]”
(procedure “tk::MenuInvoke” line 50)
invoked from within
“tk::MenuInvoke .gid.menu.button0.m.m.6 1”
(command bound to event)


Anyone has already imported a DEM file and could give me some hints on how to do so?

Best regards,
Marco Giometto


\


\


GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20130114/454126ef/attachment.htm

Hello Enrique,

I’m using Linux x64, OS is ubuntu 12.04.

Best,
Marco


On 01/14/2013 03:52 PM, Enrique Escolano wrote:
It seems a problem of the compilation of the GDAL package on Linux, at
least it works well with the Windows x32 version
Which version of GiD 11.0.3 are you using: Linux x32 or x64? and what
is your operating system (e.g. Ubuntu x.x, etc)?
Enrique
----- Original Message -----
From: Marco Giometto | EPFL mailto:marco.giometto at epfl.ch
To: gidlist at listas.cimne.upc.edu
mailto:gidlist at listas.cimne.upc.edu
Sent: Monday, January 14, 2013 1:06 PM
Subject: [GiDlist] problems import DEM file in GiD
Hello,
I’m not managing to import a DEM file in GiD v.11.0.3. I’m using
the GiD interface for the library GDAL to import files in
/ARC/INFO ASCII GRID /format (see attachment) and I’m getting the
following error:/
------------------------------------------------------------------------
STACK TRACE FOR ERROR:
Bad file handle
while executing
“gdal_get_count $fp”
(procedure “GDAL::Read” line 22)
invoked from within
“GDAL::Read $filename”
(procedure “GDAL::ReadW” line 7)
invoked from within
“GDAL::ReadW”
invoked from within
“.gid.menu.button0.m.m.6 invoke active”
(“uplevel” body line 1)
invoked from within
“uplevel #0 [list $w invoke active]”
(procedure “tk::MenuInvoke” line 50)
invoked from within
“tk::MenuInvoke .gid.menu.button0.m.m.6 1”
(command bound to event)
/
/------------------------------------------------------------------------
/
Anyone has already imported a DEM file and could give me some
hints on how to do so?/
/Best regards,
Marco Giometto
------------------------------------------------------------------------


GiDlist mailing list
GiDlist at listas.cimne.upc.edu
_http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist_

\


GiDlist mailing list
GiDlist at listas.cimne.upc.edu
_http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist_
-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20130114/fb5823c9/attachment.htm

We have fixed the problem with the GDAL package on Linux,
GDAL import will work well on next GiD 11.0.4 official and 11.1.3d developer versions (there is not a specific date to release these versions, about a month maybe)

Enrique Escolano
----- Original Message -----
From: Enrique Escolano
To: gidlist at listas.cimne.upc.edu
Sent: Monday, January 14, 2013 3:52 PM
Subject: Re: [GiDlist] problems import DEM file in GiD


It seems a problem of the compilation of the GDAL package on Linux, at least it works well with the Windows x32 version
Which version of GiD 11.0.3 are you using: Linux x32 or x64? and what is your operating system (e.g. Ubuntu x.x, etc)?

Enrique
----- Original Message -----
From: Marco Giometto | EPFL
To: gidlist at listas.cimne.upc.edu
Sent: Monday, January 14, 2013 1:06 PM
Subject: [GiDlist] problems import DEM file in GiD


Hello,

I’m not managing to import a DEM file in GiD v.11.0.3. I’m using the GiD interface for the library GDAL to import files in ARC/INFO ASCII GRID format (see attachment) and I’m getting the following error:


STACK TRACE FOR ERROR:

Bad file handle
while executing
“gdal_get_count $fp”
(procedure “GDAL::Read” line 22)
invoked from within
“GDAL::Read $filename”
(procedure “GDAL::ReadW” line 7)
invoked from within
“GDAL::ReadW”
invoked from within
“.gid.menu.button0.m.m.6 invoke active”
(“uplevel” body line 1)
invoked from within
“uplevel #0 [list $w invoke active]”
(procedure “tk::MenuInvoke” line 50)
invoked from within
“tk::MenuInvoke .gid.menu.button0.m.m.6 1”
(command bound to event)


Anyone has already imported a DEM file and could give me some hints on how to do so?

Best regards,
Marco Giometto


\


\


GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist


\


\


GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20130118/5f15caf3/attachment.htm