Package: openstreetmap-carto-common
Version: 5.9.0-2
Followup-For: Bug #1053458

Dear Maintainer,

I'd also vote for removing the postinst script from
openstreetmap-carto-common. Not just because it currently doesn't work
out-of-the-box, but also because it might not actually be that useful
anymore. The way I understand it, the get-external-data.py script (or
its predecessor) originally downloaded (shape-) files with e.g.
coastlines, extracted them and stored them in a 'data' directory where
they were referenced from the style. So it made sense to run it after
the installation in order to have this data, which is required for
rendering, already downloaded and ready.

However, for a couple versions of the style now, it doesn't store the
files anymore, it imports them into a running PostgreSQL/PostGIS
database where the corresponding tables are then used by the style (in
order to be able to actually render anything, an OSM extract or planet
must be imported into the same database, too). So I guess that this
change in behavior is what actually somewhat broke the postinst script -
originally, no database access was required, but now it is.


Manfred

Reply via email to