9

When I try to open streets.ship file from the exercise data file downloaded for working in the Quantum GIS Training Manual, I get an error message: Invalid Data Source C:/Users/new user/Documents/streets.ship is not a valid or recognized data source. What am I doing wrong?

4
  • 6
    Are you sure that the extension is *.ship? it should be *.shp
    – user681
    Commented Aug 30, 2013 at 23:09
  • 1
    they are all in that folder but the error message seems to be hung up on the folder name. in addition the file names do not appear in the dialog box when i click on the filder name. the dialog is aslking for a folder not a file.
    – user29627
    Commented Apr 27, 2014 at 14:57
  • I have four shape files for my raster map that end with prefix below .dbg .aux .sdw sid .sid.aux when i use the vector to load the map, it gives me this error message "raster_50kmaps.sdw is not a valid or recognized data source" Am I have having an incomplete shapefiles? how can i fix this problem? Commented Feb 28, 2017 at 15:13
  • @fatoma.momoh this seems to be a MrSID raster map, not a shapefile. Use Add Raster Layer, and select only the .sid file.
    – AndreJ
    Commented Mar 1, 2017 at 6:45

2 Answers 2

16

A shapefile consists of (at least) three files. In your case streets.shp, streets.dbf and streets.shx. These files should al reside in the same folder. If one of them is missing, the error message "streets.shp is not a valid or recognized data source" will appear.

1

Also, make sure the zip file doesn't contain any "children" folders i.e. when you open the zip file you will have (at least three) the .shp, .dbf, .shx files with no parent folder above or below.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.