Currently the import is tuned for speed but is hard to customize. Also it needs lot of memory. We need to change that. We can use tools like MapDB to make it convenient, low-RAM and still fast to process OSM data. Or use [osm2geojson](https://github.com/jillesvangurp/osm2geojson) or [java mergesort project](https://github.com/cowtowncoder/java-merge-sort) and look into [Chronicle-Map](https://github.com/OpenHFT/Chronicle-Map) See also #193 and [this discussion](https://discuss.graphhopper.com/t/make-import-simpler-but-avoid-too-much-slow-down/1960). Another more OSM specific project is [OSMonaut](https://github.com/MorbZ/OSMonaut)
Activity
clns commentedon Jun 27, 2014
Is SpatiaLite something that could be considered, maybe for embedded systems?
karussell commentedon Jun 27, 2014
I would like to have it Java only and we do not need special geo feature for the most important data structure.
karussell commentedon Jul 22, 2021
See also #2193 (comment) and #1370
[-]Rework import process[/-][+]Rework import process / OSMReader[/+]Route hints (graphhopper#220)