[GRASS-windows] v.in.ogr, "unable to open source data"

Monkey Boy slabshaft at gmail.com
Wed Dec 31 13:12:48 EST 2008


Just like several other people on this list, I'm new to GRASS and GIS in
general, so please forgive my ignorance...

I am using:
MS Windows XP Pro, 2002, Service Pack 3
WinGRASS-6.3.0-4-Setup.exe

Here is a link to exactly what I want to do:  (
http://grass.osgeo.org/wiki/How_to_create_an_elevation_profile)

I used the following steps:
File>Import vector map>Mutiple formats using OGR

I clicked on the browse-to-file folder icon, and chose the following
location:
C:/GRASS_map_data/GIS_DataBase/track_elev/PERMANENT_SHP/STREETS.shp
(this is what appears in the "OGR datasource name" field)

In the "Name for output vector map" field I typed:
test_streets

I left all other boxes, fields, check marks, etc as they appear by default.

Then I clicked the "Run" button.

Here is my result from the "Output" window:
Input:
v.in.ogr
dsn=C:/GRASS_map_data/GIS_DataBase/track_elev/PERMANENT_SHP/STREETS.shp
output=test_streets min_area=0.0001 snap=-1

Error message:
ERROR 4: Unable to open
C:/GRASS_map_data/GIS_DataBase/track_elev/PERMANENT_SHP/STREETS.shx or
C:/GRASS_map_data/GIS_DataBase/track_elev/PERMANENT_SHP/STREETS.SHX.
Additional error info:
Unable to open data source
<C:/GRASS_map_data/GIS_DataBase/track_elev/PERMANENT_SHP/STREETS.shp>

I have been digging through all the help info, mailing lists, user manuals,
etc and tried everything in this mailing list post:
(http://lists.osgeo.org/pipermail/grass-windows/2008-September/001500.html)

But nothing seems to work.  I've tried everything thing I can think of with
my very limited experience with GRASS.

I'm not familiar with Unix and don't know what "CYGWIN" is, but it seems
some people have had more luck than me using that kind of install and setup.

If anyone can help or give suggestions, I would greatly appreciate it!
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-windows/attachments/20081231/52c825f1/attachment.html


More information about the grass-windows mailing list