A python script to import osm data into a spatialite database, more configurable than spatialite_osm_map. it is slightly similar to osm2pgsql.