You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
iammattlee
changed the title
Geocode type error
Geocode variable type error
Aug 2, 2022
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:The text was updated successfully, but these errors were encountered: