4

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?

  • 5
    Are you sure that the extension is *.ship? it should be *.shp – user681 Aug 30 '13 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 Apr 27 '14 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? – fatoma.momoh Feb 28 '17 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 Mar 1 '17 at 6:45
10

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.

0

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, privacy policy and cookie policy

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