Hi Grassers-
I have a problem with the vector functionality of GRASS: I want to
create a land / sea mask from a coastline. I am using the "GSHHS -
Global Self-consistent, Hierarchical, High-resolution Shoreline
Database" (have a look at:
http://www.soest.hawaii.edu/wessel/gshhs/gshhs.html )
I have managed to convert it using gshhstograss
(http://www.ned.dem.csiro.au/unrestricted/people/CoxSimon/software.html)
, moving the resulting files to $LOCATION/dig_ascii, $LOCATION/dig_att,
and $LOCATION/dig_cats, convert it to a binary vector file with
v.in.ascii. It "looks good" in the monitor. But when I try to run
v.support, the latter dumps core: here is what is printed to the screen:
*********** snip *******************************************************
selected file is [gshhs_f]
1 - Build topology information (Needed for digit)
2 - Edit the category file
Enter a number <1-2>
anything else to quit: 1
Do you want to snap nodes to other nodes within a threshold (y/n) [n]
V.SUPPORT:ERROR(v.support): Could not build vector file: 'gshhs_f'
Mapset <Synoptic> in Location <45W45E>
GRASS 4.1 >
*********** snip *******************************************************
Could it be that there is something missing in my file / directory
structure? Here is mine at $LOCATION:
*********** snip *******************************************************
WIND
cats
cats_dig
cell
cell_misc
cellhd
colr
dig
dig_ascii
dig_att
dig_cats
dig_geo
dig_plus
hist
site_lists
*********** snip *******************************************************
I attach the first 20 rows of the ascii file in $LOCATION/dig_ascii, and
the files in $LOCATION/dig_att and $LOCATION/dig_cats.
Does anybody have any suggestion what could be wrong or how I can build
my mask in another way from my coastline (I intend to use v.to.rast and
then build a mask with r.mask)
Thanks in advance!
Regards,
Stephan
P.S.: I am running GRASS 4.1 on a SGI.
--
------------------------------------------------------------------------
Stephan Eickschen Tel. : +49 (0)251 83-34704
Westfaelische Wilhelms-Universitaet Fax. : +49 (0)251 83-36100
Institute for Geophysics
Research Unit of Physical Glaciology email: eicksch@uni-muenster.de
Corrensstrasse 24
48149 Muenster
Germany
------------------------------------------------------------------------