|
|
I have been trying to use DEM data for Eastern Australia found at
http://edcwww.cr.usgs.gov/landdaac/gtopo30/gtopo30.html. Unfortunately
all
the dem2tga & dem2pov converter's do not seem to like it.
Would anyone be able to:
a) direct me to alternate Oz data,
b) direct me to a converter that will work, or
c) tell me where I am going wrong. Below is a summary of the process I
am now
using and the error messages. (It appears the DEM file type is
incompatible?)
Any help would be greatly appreciated.
Roger.
---------------------------------------------------------------------------------
1) Download e140s10.tar.
2) Use dos TAR extraction utility called untgz (by Tillmann Steinbrecher
found at
http://www.isjm.com/tst/untgz.htm) to extract *.dem file.
3)Use dem2tga (by Jon Larimer at http://www.alltel.net/~jonl/dem.html)
and get the following ouput:
D:\temp\dem2tga>dem2tga e140s10.dem my.tga
dem2tga v1.0 (c) 1997 Jon Larimer
This program is public domain.
Quad name field:
Exiting due to signal SIGSEGV
General Protection Fault at eip=000016a1
eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=0004f120
edi=0004dac4
ebp=f1d8f1d8 esp=0004da06 program=D:\TEMP\DEM2TGA\DEM2TGA.EXE
cs: sel=00af base=82a70000 limit=0005ffff
ds: sel=00b7 base=82a70000 limit=0005ffff
es: sel=00b7 base=82a70000 limit=0005ffff
fs: sel=0087 base=0000ecc0 limit=0000ffff
gs: sel=00c7 base=00000000 limit=ffffffff
ss: sel=00b7 base=82a70000 limit=0005ffff
Call frame traceback EIPs:
0x000016a1
5)I have tried the DEM2POV utility found at The Povray HomePage.
It causes a gpf after the following output.
D:\temp\dem2pov>dem2pov e140s10.dem my.tga
DEM to POV height-field v1.1c by W. D. Kirby 4/18/95
based on DEM to x,y,z ascii file, ver 3.1, 1-95 -- Sol Katz, BLM
Map label:
[ 2] DEMlevel: 0
[ 3] elevation Pattern: 0 (=>?0? )
[ 4] planimetric reference system: 0 (=>georgraphic)
[ 5] ground Zone: 0
[ 6] proj: 0.0000000 0.0000000 0.0000000
[ 6] proj: 0.0000000 0.0000000 0.0000000
[ 6] proj: 0.0000000 0.0000000 0.0000000
[ 6] proj: 0.0000000 0.0000000 0.0000000
[ 6] proj: 0.0000000 0.0000000 0.0000000
[ 7] plane Unit Of Measure: 0 (=>radians )
[ 8] elevation measurement units code: 0 (=>?0? )
[ 9] polygon Sides: 0
[10] ground coordinates
NW ( 0.00000, 0.00000) NE ( 0.00000,
0.00000)
SW ( 0.00000, 0.00000) SE ( 0.00000,
0.00000)
[11] Elev. Min: 0.00000, Max: 0.00000, Accuracy code: 0
[14] Spatial Resolution: 0.00000, 0.00000,
0.00000
[15] map size is 0 x 0 (row x columns)
-----------------------------------------------------------------------------
Post a reply to this message
|
|
|
|
STUDENT wrote:
>
> I have been trying to use DEM data for Eastern Australia found at
> http://edcwww.cr.usgs.gov/landdaac/gtopo30/gtopo30.html. Unfortunately
> all
> the dem2tga & dem2pov converter's do not seem to like it.
>
> Would anyone be able to:
> a) direct me to alternate Oz data,
> b) direct me to a converter that will work, or
> c) tell me where I am going wrong. Below is a summary of the process I
> am now
> using and the error messages. (It appears the DEM file type is
> incompatible?)
>
GTOPO30 is a binary format, not DEM format. Consequently, neither of
the two programs you mention will work with it. The GTOPO30 archive file
should contain a text file explaining the file format. It isn't too hard
to write a small program to convert it to a TGA file and use it as a
heightfield.
-----------------------------------------
| Tim Riley |
| Institute for Telecommunication Science |
| National Telecommunications and |
| Information Administration |
| US Dept. of Commerce |
| Boulder, Colorado |
| E-mail:tri### [at] itsbldrdocgov |
| Per favore spenga le Sue scarpe |
| davanti abbandonare il nave spaziale. |
-----------------------------------------
Post a reply to this message
|
|