[OSM-dev] Nominatim and Mapnik tile rendering on same PostgreSQL database
Frederik Ramm
frederik at remote.org
Mon Apr 18 20:54:55 BST 2011
Hi,
Yoanis Gil Delgado wrote:
> I am currently running my own OpenStreetMap database with data imported
> in slim mode and stored in spherical mercator, for Mapnik tile
> rendering. I'd like to add Nominatim functionality to my project, but as
> I can't afford more resources I'd like to do that using only one database.
It won't work. Nominatim stores different things in the slim mode tables
than does the standard rendering backend.
> Looks like Nominatim, won't work with data stored in spherical mercator
> format, but I wonder if tile rendering will still work if data is stored
> in latitude/longitude format?
That is not a problem, you'll just have to fix your "extents" in
inc/datasource-settings.xml.inc and modify the osm2pgsql_projection and
dwithin_node_way entities in inc/settings.xml.inc accordingly. But as I
said above this will not give you the option of running the same
database for rendering and Nominatim.
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the dev
mailing list