[OSM-dev] Map rendering issue

Jon Burgess jburgess777 at gmail.com
Wed Jun 13 22:51:42 BST 2012


On Wed, 2012-06-13 at 23:31 +0200, Christophe Merlet wrote:
> Le mercredi 13 juin 2012 à 22:22 +0100, Jon Burgess a écrit :
> > On Wed, 2012-06-13 at 16:46 -0400, Lynn W. Deffenbaugh (Mr) wrote:
> > > Without changing zoom, drag over and down South America.  Watch it go
> > > white (gray).  Then move on over to the blank face of Australia.
> > > That's the bug.
> > 
> > The key question is whether the data is in the database or not. Can you
> > run a query like the one below which should return a single node
> > for an aerodrome near the southern tip of South America:
> > 
> > 
> > http://www.openstreetmap.org/?node=1042020307
> > 
> > 
> > gis=> select osm_id,name,aeroway,astext(st_transform(way,4326)) from planet_osm_point where osm_id=1042020307;
> >    osm_id   |        name        |  aeroway  |                   astext                   
> > ------------+--------------------+-----------+--------------------------------------------
> >  1042020307 | Los Cerros Airport | aerodrome | POINT(-67.8329009905576 -54.3441009947259)
> > (1 row)
> > 
> >    Jon
> 
> Thanks for your help.
> Here the result :
> 
> ubuntu at lurien:~$ psql -d mapnik_cc -h lurien -U mapnik
> Password for user mapnik: 
> psql (9.1.4)
> SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
> Type "help" for help.
> 
> mapnik_cc=> select osm_id,name,aeroway,astext(st_transform(way,4326))
> from planet_osm_point where osm_id=1042020307;
>    osm_id   |        name        |  aeroway  |
> astext                   
> ------------+--------------------+-----------+--------------------------------------------
>  1042020307 | Los Cerros Airport | aerodrome | POINT(-67.8329009905576
> -54.3441009947259)
> (1 row)
> 

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)

  Jon





More information about the dev mailing list