[GRASS-user] v.in.ogr weird import

Moritz Lennert mlennert at club.worldonline.be
Tue Jul 8 10:29:48 EDT 2008


On 07/07/08 17:29, Christian Ferreira wrote:
> Hi,
> 
> 
> I tried many times to import some vectors into GRASS 6.2.2 and 6.3
> using v.in.ogr.
> 
> The problem is... my location use Latitude-Longitude, and I tried use
> the flag -o, but my vectors (once imported) always show now UTM
> projection(?) (see below), but they are in fact, also
> Latitude-Longitude (+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs)
> as my region.
> 
> And the layer extent is: xMin,yMin -80.817,-10.6663 : xMax,yMax
> -78.7871,-9.05281 (info from QGIS)
> 
> PS: to import raster data there was no problem.
> 
> PS: the command was: v.in.ogr -o
> dsn=/home/poseidon/Work/vector_data/Tracklines2.shp output=tracklines2
> min_area=0.0001 snap=-1
> 
>  +----------------------------------------------------------------------------+
>  | Layer:           tracklines2 at poseidon                         |
>  | Mapset:          poseidon                                          |
>  | Location:        M77                                                 |
>  | Database:        /home/poseidon/grass                          |
>  | Title:                                                                     |
>  | Map scale:       1:1                                                       |
>  | Map format:      native                                                    |
>  | Name of creator: poseidon                                                  |
>  | Organization:                                                              |
>  | Source date:     Mon Jul  7 16:44:24 2008                                  |
>  |----------------------------------------------------------------------------|
>  |   Type of Map:  vector (level: 2)                                          |
>  |                                                                            |
>  |   Number of points:       0               Number of areas:      0          |
>  |   Number of lines:        1               Number of islands:    0          |
>  |   Number of boundaries:   0               Number of faces:      0          |
>  |   Number of centroids:    0               Number of kernels:    0          |
>  |
>                        |
>  |   Map is 3D:              0
>                 |
>  |   Number of dblinks:      1
>              |
>  |
>                        |
>  |         Projection: UTM                                                    |
>  |               N:   9:03:10.133353S    S:  10:39:58.771218S                 |
>  |               E:  78:47:13.733701W    W:  80:49:01.374885W                 |
>  |
>                         |
>  |   Digitization threshold: 0
>                |
>  |   Comments:
>                |
>  |                                                                            |
>  +----------------------------------------------------------------------------+
> 
> Can someone help me?


What does g.proj -p show ?
Are the shapefiles accompanied by .prj files ?

Moritz


More information about the grass-user mailing list