<br><br><div class="gmail_quote">On Mon, Apr 18, 2011 at 3:54 PM, Frederik Ramm <span dir="ltr"><<a href="mailto:frederik@remote.org">frederik@remote.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<div class="im"><br>
<br>
Yoanis Gil Delgado wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>

</blockquote>
<br></div>
It won't work. Nominatim stores different things in the slim mode tables than does the standard rendering backend.<div class="im"><br></div></blockquote><div>How about applying some sort of "transformation" function? Or is it just that there is no feasible/possible way to do that?</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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?<br>
</blockquote>
<br></div>
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.<br>

<br>
Bye<br>
Frederik<br><font color="#888888">
<br>
-- <br>
Frederik Ramm  ##  eMail <a href="mailto:frederik@remote.org" target="_blank">frederik@remote.org</a>  ##  N49°00'09" E008°23'33"<br>
</font></blockquote></div><br>