Skip to content
Katatunga edited this page Jun 26, 2020 · 4 revisions

Customizing inc/datasource-settings.xml.inc

For mapnik-stylesheets and preselected-rendering to use your database, you need to edit this file to match your configuration. Generate_view_tiles.py does not parse this file, so it ignores comments. Therefore, the correct database configuration needs to be the first occurence of parameters.

Usage of generate_view_tiles.py

Type $ python generate_view_tiles.py --help for a usage explanation for both of the following ways.

From Command Line

$ python generate_view_tiles.py [PARAMETERS]

Parameters can either be

--port

or

If you try to use both types of parameters at once, the script will fail with an error message.

Clone this wiki locally