This library and application can import OpenStreetMap data into a SQLite database and export it again.
Jochen Topf
N/A