[OSM-dev] Nominatim and Mapnik tile rendering on same PostgreSQL database
Yoanis Gil Delgado
gryffindor.godric at gmail.com
Mon Apr 18 21:24:26 BST 2011
On Mon, Apr 18, 2011 at 3:54 PM, Frederik Ramm <frederik at remote.org> 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 frederik at remote.org ## N49°00'09" E008°23'33"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20110418/46f6f628/attachment.html>
More information about the dev
mailing list