
Clinton Gladstone wrote:
On Nov 28, 2009, at 10:50, Christoph Wagner wrote:
svn commit schrieb:
Version 1409 was commited by markb on 2009-11-27 20:52:16 +0000 (Fri, 27 Nov 2009)
Add support for generating multiple map objects from a single OSM object.
The style system is augmented with 'continue' and 'stop' commands that can be used in style rule files to facilitate the generation of more than one map object (line or POI) from a single OSM object.
Sounds very cool. Can you give a full example how to use the continue and stop commands, please? Is it something like this or am I wrong?
Here is an example:
tunnel=* [0x12 resolution 20 continue]
This would create a second line which you could use (with an appropriate typ file) to create a special overlay for all lines which have the tunnel tag defined. (This is theoretically a bad example, because lines with the tag tunnel=no would also be included, but this gives you an idea of how the feature should work).
Just to clarify: this doesn't create a second line does it? I thought it just allows separate rules to match the same OSM object? Or have I misunderstood? I thought it was the overlays style file that creates copies of an OSM way so that you can apply different TYP styles to a single OSM object. Charlie