[OSM-dev] Osm2pgsql - expire list incomplete / misses tiles
weskamm at terrestris.de
Fri Apr 11 08:39:07 UTC 2014
I have a problem with the results of the expire.list, which is generated
by Osm2pgsql after importing a diff file from OSM.
The list contains not all tiles that need to be expired / refreshed. And
it may be that it even contains wrong tiles.
The version i use:
Osm2pgsql 0.83.0 (64bit id space)
I use the load-next script to import the diff data. The script itself
launches the import with the following command:
$OSM2PGSQL --append --slim --cache 1024 --merc --prefix $PREFIX --style
$STYLE --host $HOST --database $DB --username $USER -e 0-19 -o
expire.list --verbose "$CURRENT" 1>&2 2> "$PSQLLOG"
The imported data is correct and contains all updates that were given by
the diff file.
The problem is, that the expire list does not contain some of the tiles
that should be marked as expired, and i have no clue why.
It seems that the regions where updates happend in the database are hit,
as there are a "few" expired tiles in the updated regions. But lots of
tiles which should be expired are missing in the list.
Is there something wrong with the command (could "-e 0-19" be a
problem?), or is this even a bug in osm2pgsql? Does somebody have / had
Thanks in advance,
More information about the dev