Help with v.support?
Stephan Eickschen
eicksch at uni-muenster.de
Fri Apr 24 09:37:31 EDT 1998
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 at uni-muenster.de
Corrensstrasse 24
48149 Muenster
Germany
------------------------------------------------------------------------
-------------- next part --------------
ORGANIZATION:
DIGIT DATE: Fri Apr 24 14:35:50 1998
DIGIT NAME: eicksch
MAP NAME: Global Shorelines
MAP DATE: 1996
MAP SCALE: 1
OTHER INFO:
ZONE: 0
WEST EDGE: -45.000000
EAST EDGE: 45.000000
SOUTH EDGE: -90.000000
NORTH EDGE: -60.000000
MAP THRESH: 0.0001
VERTI:
L 14733
-68.925750 360.000000
-68.916222 359.915333
-68.910806 359.833583
-68.907944 359.737806
-68.906833 359.582278
-------------- next part --------------
L 359.915333 -68.916222 34
L 38.275083 -69.556583 31961
L 39.548861 -69.031222 44950
L 39.444083 -69.399889 51070
L 39.489944 -69.176250 77985
L 39.649583 -68.974222 78034
L 39.250528 -69.582194 91807
L 39.458972 -69.203194 91810
L 39.560806 -69.186889 91811
L 39.575861 -68.944139 130818
L 39.467944 -69.016917 130937
L 39.611667 -69.048083 130944
L 38.856250 -69.568056 130959
L 39.492028 -69.069833 144895
-------------- next part --------------
# 144895 categories
Global Shorelines
0.0 0.0 0.0 0.0
0:unknown
34:land
31961:land
44950:land
51070:land
77985:land
78034:land
91807:land
91810:land
91811:land
130818:land
130937:land
130944:land
130959:land
144895:land
More information about the grass-user
mailing list