postgresqlubuntu-16.04openstreetmapmaproutenominatim

Use Nominatim db to connect with any OSM router/direction engine


I was just wondering if anyone knows about how to work OSM routing/direction/navigation engine (OSM Router Engine Wiki) with existing local Nominatim posgresql DB.

I have already installed Nominatim and its relevant DB in my server and since its huge, I dont want another copy of the same huge thing in my server.

Hope someone can help. Thanks


Solution

  • Nominatim has its own database format. You can't use it for routing. The same applies to routing databases and rendering databases, they usually have different schemes optimized for their particular use case.

    Considuer using smaller extracts if you don't have much disk space available. You can split them into even smaller areas, for examble by using osmium tool.