When i run a geographical weighted regression in QGIS, this command pops up 'NoneType' object has no attribute 'crs' See log for more details and no regression analysis will happen. Does anyone know what this means?
-
I believe that you do not have a projection defined. The "crs" is the spatial reference string.– Jeffrey EvansCommented Jun 13, 2016 at 20:32
-
Iv defined a projection under properties for both shp. and csv. is there another way to define projection?– JSmith2412Commented Jun 13, 2016 at 20:39
-
Welcome to GIS.se! Please click 'edit' and give more information about your data and the steps you have followed.– SimbamanguCommented Jun 14, 2016 at 4:58
-
You are going to have to add much more information to get a solution.– If you do not know- just GISCommented Jun 15, 2016 at 12:49
Add a comment
|
1 Answer
You need to have a projected system set to run a GWR in QGIS (I think you do in ArcGIS as well). You cannot use a geographic coordinate system (GCS) you must set a projected system with linear units such as meters or feet. A simple answer may be to use your local UTM Zone. Can you post your shapefile ,prj to a public URL and Ill take a look.
-
-
I gathered the data from this website, im not sure how to convert shp. to url sorry Commented Jun 15, 2016 at 2:11