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
The import_shapefile function is not defined, and the default /lib/geocoder/us/import/tiger.rb file is not setup for shapefile imports, here is my stab at it, I wasn't sure where this function belonged in the import file, or else I'd just submit a patch (that, and I'm a ruby and a TIGER newbie, so I'm not sure if it's even all correct)
def import_shapefile (file,table)
if file.match('.shp$')
insert_shapefile file, table
elsif file.match('.dbf$')
insert_dbf file, table
end
end
The text was updated successfully, but these errors were encountered:
The import_shapefile function is not defined, and the default /lib/geocoder/us/import/tiger.rb file is not setup for shapefile imports, here is my stab at it, I wasn't sure where this function belonged in the import file, or else I'd just submit a patch (that, and I'm a ruby and a TIGER newbie, so I'm not sure if it's even all correct)
The text was updated successfully, but these errors were encountered: