1

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?

4
  • I believe that you do not have a projection defined. The "crs" is the spatial reference string. Commented Jun 13, 2016 at 20:32
  • Iv defined a projection under properties for both shp. and csv. is there another way to define projection?
    – JSmith2412
    Commented 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.
    – Simbamangu
    Commented Jun 14, 2016 at 4:58
  • You are going to have to add much more information to get a solution. Commented Jun 15, 2016 at 12:49

1 Answer 1

1

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.

2

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.