[OSM-dev] Map rendering issue

Christophe Merlet redfox at redfoxcenter.org
Wed Jun 13 23:18:39 BST 2012


Le mercredi 13 juin 2012 à 23:31 +0200, Christophe Merlet a écrit :
> Le mercredi 13 juin 2012 à 22:22 +0100, Jon Burgess a écrit :

> OK, good, so that data has imported OK.
> 
> The last time I saw something like this on the rendering side it was due
> to using the 'estimated extent' feature of postgis. Can you tell us what
> extent setting you have in your datasource file, e.g:
>
> [jburgess at shark mapnik]$ grep extent inc/datasource-settings.xml.inc
> <Parameter name="estimate_extent">false</Parameter>
> <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
> 
> 
> There are a few items on the rendering side which may be relevant to
> this. Can you tell us the version of the items below. Also let us know
> whether you built from source or used a package from somewhere:
> 
> - postgis
> - mapnik
> - mod_tile
> - the 'map style' (osm.xml etc)


I use Ubuntu 12.04 and packages from Kai Krueger
https://launchpad.net/~kakrueger/+archive/openstreetmap

# cat datasource-settings.xml.inc
<!--
Settings for your postgres setup.

Note: feel free to leave password, host, port, or use blank
-->

<Parameter name="type">postgis</Parameter>
<Parameter name="password">!!!snip!!!</Parameter>
<Parameter name="host">lurien.paulla.asso.fr</Parameter>
<!-- Parameter name="port">%(port)s</Parameter -->
<Parameter name="user">mapnik</Parameter>
<Parameter name="dbname">mapnik_cc</Parameter>
<!-- this should be 'false' if you are manually providing the 'extent'
-->
<Parameter name="estimate_extent">true</Parameter>
<!-- manually provided extent in epsg 900913 for whole globe -->
<!-- providing this speeds up Mapnik database queries -->
<!-- Parameter name="extent">%(extent)s</Parameter -->


I'll try your settings...



	Librement,
-- 
Christophe Merlet (RedFox)




More information about the dev mailing list