Add doc note on mapnik styles in tiles.tile
This commit is contained in:
parent
b997c4dce4
commit
c45394cbb2
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user