Class: Geocoder::US::Import::TIGER
- Inherits:
-
Geocoder::US::Import
- Object
- Database
- Geocoder::US::Import
- Geocoder::US::Import::TIGER
- Defined in:
- lib/geocoder/us/import/tiger.rb
Constant Summary
Constants inherited from Database
Database::City_Weight, Database::Number_Weight, Database::Parity_Weight, Database::Street_Weight
Instance Method Summary collapse
Methods inherited from Geocoder::US::Import
#create_tables, #execute_batch, #execute_script, #import_path, #import_tree, #import_zip, #initialize, #insert_csv, #insert_data, #insert_dbf, #insert_shapefile, #load_features, #log, #make_temp_dir, #spin, #tables, tables, #unpack_zip
Methods inherited from Database
#add_ranges!, #assign_number!, #best_candidates!, #best_places, #canonicalize_places!, #clean_record!, #distance, #edges, #execute, #execute_statement, #extend_ranges!, #features_by_street, #features_by_street_and_zip, #find_candidates, #flush_statements, #geocode, #geocode_address, #geocode_intersection, #geocode_place, #initialize, #interpolate, #interpolation_distance, #intersections_by_fid, #merge_edges!, #merge_rows!, #metaphone_placeholders_for, #more_features_by_street_and_zip, #placeholders_for, #places_by_city, #places_by_zip, #prepare, #primary_places, #range_ends, #ranges_by_feature, #rows_to_h, #scale_lon, #score_candidates!, #synchronize, #tune, #unique_values, #unpack_geometry
Constructor Details
This class inherits a constructor from Geocoder::US::Import
Instance Method Details
#post_create ⇒ Object
7 8 9 10 11 12 |
# File 'lib/geocoder/us/import/tiger.rb', line 7 def post_create log "importing places" @db.transaction do # insert_csv File.join(@sqlpath, "place.csv"), "place" end end |