Commit Graph

7 Commits

Author SHA1 Message Date
17605996d6 remove whitespace before EOL 2015-11-02 17:24:07 +01:00
fdb9b573f5 Fix builing typo in example multi style
Fixes #264
2015-04-29 22:10:35 -07:00
6ed30a8afc Add comments to multi-backend example 2015-04-23 00:01:50 -07:00
1524c3fb06 Correctly identify linear vs area features in the multi-backend example 2015-04-22 23:26:58 -07:00
a75f65eb80 Add a highway example to the sample multi style
This gives a demonstration of points, lines, and areas. It also
shows how multi-lingual names for rendering can be computed in
advance, using a lookup table for object selection, and using a
lookup table for tag conversion.

Unfortunately, it exposes some bugs in osm2pgsql - but the
conversion itself is fine.
2015-04-22 23:26:58 -07:00
8f019c0f2a Clean up the example multi styles
This rewrite introduces some reusable functions and generally slims
down the style-specific code necessary, as well as introducing
deleted tags, equivalent to C tag processing delete lines.
2015-04-22 23:26:58 -07:00
9073212d4b Rework sample multi config
The sample multi config only included one table, making it not
the best example. With two tables, this example better shows what can be done.

A bug where all objects with name were being put in the buildings table
has been fixed in the rewrite.

It also uses boolean columns, showing how pre-processing with Lua can
reduce stylesheet processing.
2015-01-22 16:17:26 -08:00