When running flow_data_processing.py, the script encounters an error with the s1 and s2 variables in S03_geocode_and_match_street_number.py as shown below:
Traceback (most recent call last):
File "flow_data_processing.py", line 110, in <module>
newmatch = pfd.arterycode_matching() ## comment this line out to skip arterycode matching process
File "flow_data_processing.py", line 39, in arterycode_matching
S03.geocode_match(self.db)
File "./flow_data_processing/arterycode_mapping/S03_geocode_and_match_street_number.py", line 232, in geocode_match
results.append(geocode_points(db))
File "./flow_data_processing/arterycode_mapping/S03_geocode_and_match_street_number.py", line 151, in geocode_points
f = Geocode(db,ac,s1,s2)
File "./flow_data_processing/arterycode_mapping/S03_geocode_and_match_street_number.py", line 29, in Geocode
(add,lat,lon) = AF.geocode(s1+' and '+s2)
TypeError: must be str, not NoneType
When running
flow_data_processing.py
, the script encounters an error with the s1 and s2 variables inS03_geocode_and_match_street_number.py
as shown below: