Add doc note on mapnik styles in tiles.tile

This commit is contained in:
Tom Russell 2019-04-27 13:26:03 +01:00
parent b997c4dce4
commit c45394cbb2

View File

@ -1,6 +1,14 @@
/** /**
* Render tiles * Render tiles
* *
* Use mapnik to render map tiles from the database
*
* Styles have two sources of truth for colour ranges (could generate from single source?)
* - XML style definitions in app/map_styles/polygon.xml
* - front-end legend in app/src/frontend/legend.js
*
* Data is provided by the queries in MAP_STYLE_TABLE_DEFINITIONS below.
*
*/ */
import path from 'path'; import path from 'path';
import mapnik from 'mapnik'; import mapnik from 'mapnik';