[OSM-dev] tile issue (was: Re: convert tool)

Jon Burgess jburgess777 at googlemail.com
Wed Jun 18 22:04:23 BST 2008


On Wed, 2008-06-18 at 22:40 +0200, Dominik Spies wrote:
> Another issue I ran into is really odd:
> 
> There are large areas without anything on the tiles, and the area is 
> somehow moved to northeast (what explains the empty areas, because
> there 
> is no data for them).
> Also, a tile e.g. http://10.10.11.102/tiles/12/2193/1413.png shows
> part 
> of motorway A92 near Plattling. When I requets this tile from 
> openstreetmap (http://a.tile.openstreetmap.org/12/2193/1413.png) I
> shows 
> another area, ~ 25km northwest.
> 
> What could be the reason for that? Thats what I did:
> 
> 
> I downloaded a certain area with:
> http://api.openstreetmap.org/api/0.5/map?bbox=12.322,48.471,12.981,48.796
> I transfered it into pgsql (psql 8.2.7) with svn version of
> osm2pgsql. 
> worked fine:
> 
> postgres at vmub804:/home/dosp/osm2pgsql/osm2pgsql$ osm2pgsql -d osm 
> ../../lkdgf.osm
> osm2pgsql SVN version 0.08-20071112 $Rev: 4842 $

You forgot to add "-m" option. I've lost count of how many people have
made the same mistake. As a fix, I've just made this the default from
now on (svn r8319+). Those that want to use the older projection will
now need to specifiy -M or --oldmerc.

	Jon






More information about the dev mailing list