Skip to content
PebblesFTW edited this page Jul 4, 2020 · 4 revisions

world_boundaries

This directory contains shapefiles to render current borders and coastlines. Since this is fairly useless in the context of time-sensitive rendering, you will need to remove or replace them at some point.

To ignore these files in rendering, you just need to delete the occurence of &layer-shapefiles; in 'osm.xml' (default: row 3351).

To use database information for rendering borders and coastlines you need to change the datasources in 'layer-shapefiles.xml.inc' to sql-select-statements selecting the correct information, using the following format:

<Datasource>
    <Parameter name="table">
    	(SELECT-STATEMENT)
    </Parameter>
	&datasource-settings;
</Datasource>
Clone this wiki locally