[GRASSLIST:3047] To import vector maps, display and export them....

Daniel Tourde ted at foi.se
Wed Jan 30 10:32:10 EST 2002


Hello,

I am a newbye to Grass. I am not a topograph and I am not planning to
become one. I know nothing about Grass, its subtilities, its
vocabulary...
I only have one need and I need to have the job done ASAP.... I have
grass5pre3 on a RH7.2 machine.

I live in Sweden (RT 90: Transverse Mercator, Bessel 1841) and I
have access to digital vector maps encoded according to the following
formats

GRASS 5.0.0pre3 > ls st97*
st97_d.dbf  st97_d.sbn	st97_d.sbx  st97_d.shp	st97_d.shx

I want to see this map on the screen and I want to export it as AutoCAD
files (I need this format for an other software).
In other words, my needs are simple:
import, look at the map, export!!!!

The maps I am trying to load and transform contain lakes, forests,
cities, roads... with a resolution of 1:50000 (1cm = 500m)

I use the tcltck GUI. I want to have things done simply and quickly. As
I said, I am neither a topograph, nor a Grass specialist and I am
planning to become any of these....



Here is what I did and what I obtained...


 Mapset <PERMANENT> in Location
<Sweden>                                                               
GRASS 5.0.0pre3 > v.in.shape -l in=st97_d.shp
Attributes available in st97_d.shp
1: AREA [float4:15]
2: PERIMETER [float4:15]
3: ST97_D_ [int8:10]
4: ST97_D_ID [int8:10]
5: KKOD [int4:5]
6: KATEGORI [text:50]
7: SRIKT [float4:8]
8: GRUPP [int4:5]
                                                                                                      
Mapset <PERMANENT> in Location
<Sweden>                                                               
GRASS 5.0.0pre3 > v.in.shape -b in=st97_d.shp

BOUNDS OF REGION ARE: 

  West:  1523190.000000
  North: 6584195.000000
  East:  6506040.000000
  South: 1596933.250000
                                                                                                      
Mapset <PERMANENT> in Location
<Sweden>                                                               
GRASS 5.0.0pre3 > v.in.shape verbose=9 in=st97_d.shp attribute=AREA
"st97_d.shp" successfully opened
ERROR: Point map import not now supported by this module: use s.in.shape
 
Mapset <PERMANENT> in Location
<Sweden>                                                               
GRASS 5.0.0pre3 > s.in.shape -lz in=st97_d.shp attribute=AREA
Attributes available in st97_d
1: AREA [float4:15]
2: PERIMETER [float4:15]
3: ST97_D_ [int8:10]
4: ST97_D_ID [int8:10]
5: KKOD [int4:5]
6: KATEGORI [text:50]
7: SRIKT [float4:8]
8: GRUPP [int4:5]
                                                                                                      
Mapset <PERMANENT> in Location
<Sweden>                                                               
GRASS 5.0.0pre3 > s.in.shape -lzm in=st97_d.shp attribute=AREA
Attributes available in st97_d
1: AREA [float4:15]
2: PERIMETER [float4:15]
3: ST97_D_ [int8:10]
4: ST97_D_ID [int8:10]
5: KKOD [int4:5]
6: KATEGORI [text:50]
7: SRIKT [float4:8]
8: GRUPP [int4:5]
                                                                                                      
Mapset <PERMANENT> in Location
<Sweden>                                                               
GRASS 5.0.0pre3 >



I did not get further than that. I obtained this using the command line.
I would like to use the GUI, it's simpler in my opinion and this is what
a GUI is made for...


Can anyone help me to do what I have to do: import, display and
export.... ?



			Daniel

                                                                                                     
-- 
***********************************************************************
Daniel TOURDE                             E-mail : daniel.tourde at foi.se
                                             Tel : +46 (0)8-55 50 43 44
                                        Cellular :  +46 (0)70-849 93 40
   FOI, Swedish Defence Research Agency; Aeronautics Division - FFA
       Dept. of Wind Energy and Aviation Environmental Research
SE-172 90 Stockholm, Sweden                     Fax : +46 (0)8-25 34 81
***********************************************************************



More information about the grass-user mailing list