[GRASS-windows] v.in.ogr

Moritz Lennert mlennert at club.worldonline.be
Mon Sep 29 03:46:36 EDT 2008


On 28/09/08 17:28, Zahid Parvez wrote:
> Dear Grass users
> 
> Software: windows *native Grass 63* and *spearfish 60* data
> Problem:  facing problem in "*v.in.ogr*" command.
> 
> 
> Description:
> 
>  >>> Successfully started GRASS GIS and  spearfish data loaded.
> 
>  >>> First opened File -> Import -> Vector map -> Multiple formats using 
> OGR.
> 
>  >>> v.in.ogr window appears
> 
>  >>> First Parameter needed is "path to the shape file (OGR data source 
> name)"    
>     Suppose my shape file data is in location "C:\world_factbk"
>     So I have given the path  C:\world_factbk in OGR Datasource name box.
>    
>  >>> name of the vector map to be created (Name of output vector map): 
> worlds
> 
>  >>> name of the file shp to be imported (OGR layer name), without 
> extension:            
> 
> world_factbk
> 
>  >>> Override projection is check box is clicked.
> 
>  >>> RUN is clicked
> 
> 
> Output in GIS.m window:
> 
> ERROR: Unable to open data source <C:/world_factbk/world_factbk>
> 
> I wander what will be its solution


Two things you can try:

1) Instead of entering the directory path name by hand, for

"path to the shape file (OGR data source name)"

use the file chooser and select the shapefile (not the directory, but 
the shapefile, with extension) and leave the "OGR layer name" box empty.


2) Try entering the path this way:

/c/world_factbk/world_factbk

Moritz


More information about the grass-windows mailing list