Sunday, 3 December 2017

Shapefile/vector layer not appearing in QGIS


I have a shapefile (calling it 'new.shp' for discussion's sake) that won't show up with other layers.


If a fresh file is started and I bring in new.shp, it will appear, but any other layers imported after does not. On the flip side, if other layers are imported first, the other layers appear, but new.shp will not show up.


That's not too much detail to troubleshoot from, but I was hoping someone might be able to suggest what the issue might be?


I've just started learning GIS and using QGIS, so I'm a bit lost at the moment.


Other notes: - I looked into the CRS for new.shp which says (EPSG:4326, WGS 84); The other layers are also set to this. - Using QGIS 2.10.1 on Windows 7



Answer




If there is a .prj file, look into that with a text editor for projection information. Otherwise you have to ask the data creator.


It is definitely something projected in meters or foot. That is the reason you will not see it in a 180/90-degree view of the world, as defined by the WGS84 EPSG:4326 CRS.


To sanitize the project, remove the layer. Under Settings -> Options, CRS tab, CRS for new layers, select Prompt for CRS, and add the layer again. That should wipe away most CRS mistakes.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...