Use PostgreSQL with possibly PostGIS in backend, to enable more complex geospatial queries on the database.