3 ms·
PostgreSQL (https://www.postgresql.org/ https://www.postgresql.org/) with the PostGIS extension (https://postgis.net/ https://postgis.net/) would be my first go
by Someone 5y ago
PostgreSQL (https://www.postgresql.org/ https://www.postgresql.org/) with the PostGIS extension (https://postgis.net/ https://postgis.net/) would be my first go (free, good reputation, importing OpenStreetMap is fairly simple (or was, about 10 years ago))
There’s also Spatialite (https://www.gaia-gis.it/fossil/libspatialite/index https://www.gaia-gis.it/fossil/libspatialite/index, https://en.wikipedia.org/wiki/SpatiaLite https://en.wikipedia.org/wiki/SpatiaLite)
I’ve never used that, so I would not know whether it is a good starting point, but it seems backed my many players in the field. The documentation looks a bit geared towards experts in the field, though.