hexagon_grid.py - input parameters don't seem to be quite right
I keep getting this error:
Traceback (most recent call last): File "/nas/clivings/astra_2018_002/astra_2018_002/gis/create_hexagon_grid.py", line 32, in min_x, min_y, max_x, max_y = area_geometry.bounds AttributeError: 'NoneType' object has no attribute 'bounds'
despite making sure my shapefile has only 1 area in it, with only one attribute, in my case "scenario", that only has one value, in this case "lg".
Here is my command:
(/nas/clivings/ch_zh_synpop/ch-zh-synpop/setup/pipeline_environment/python-venv) -bash-4.2$ python3 /nas/clivings/astra_2018_002/astra_2018_002/gis/create_hexagon_grid.py /nas/clivings/astra_2018_002/astra_2018_002/gis/scenarios/serviceArea_lg.shp /nas/clivings/astra_2018_002/Input_SwissPartial_1pct_lg/waiting_time_zones.shp scenario WZONE 1000
Thus: could you explain in more detail exactly what the script needs from the input shapefile?