On Mon, Apr 18, 2011 at 3:54 PM, Frederik Ramm <[email protected]> wrote:
> 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. > > How about applying some sort of "transformation" function? Or is it just that there is no feasible/possible way to do that? > > 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 [email protected] ## N49°00'09" E008°23'33" >
_______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

