Import OpenStreetMap-Data (OSM-File) to a MySQL-Database / SQL-File
Intro I downloaded and extracted the OpenStreetMap Source File ( See here ). I have a 400GB XML-sourcefile now, and i would like to (1) insert the data in a MySQL Table OR (2) export this to an SQL file, doesn't matter. What I already did / tried I have the XML File^^ and the MySQL Server (5.6.14) I found the tool Osmosis , to convert OSM data and I installed it I read this post: Read cities and streets into a database without api I also read this post: Is this config is capable to import complete osm planet file? (It is.) I tried to insert the data with osmosis, but it throws an error after a