style polygon+line on one input object

Hi! http://www.openstreetmap.org/browse/way/87336026 barrier = wall + landuse = industrial http://www.openstreetmap.org/browse/way/86381931 amenity = parking + barrier = fence I have description for line "barrier=" in "line" style file and for way "landuse=" in "polygon" style file, but mkgmap generete only 1 object (polygone) without using line style barrier=. Key "countinue" work only in 1 style file (line or polygon). What way to generate 2 objects in output file - line for barrier and polygone for content? my mkgmap style: http://code.google.com/p/velo100mapper/source/browse/trunk/stranger/ my TYP: http://velo100mapper.googlecode.com/svn/trunk/stranger.typ --- wbr Maks

On 09/12/2010 17:06, Maks Vasilev wrote:
Hi!
http://www.openstreetmap.org/browse/way/87336026 barrier = wall + landuse = industrial
http://www.openstreetmap.org/browse/way/86381931 amenity = parking + barrier = fence
I have description for line "barrier=" in "line" style file and for way "landuse=" in "polygon" style file, but mkgmap generete only 1 object (polygone) without using line style barrier=. Key "countinue" work only in 1 style file (line or polygon).
What way to generate 2 objects in output file - line for barrier and polygone for content?
my mkgmap style: http://code.google.com/p/velo100mapper/source/browse/trunk/stranger/
my TYP: http://velo100mapper.googlecode.com/svn/trunk/stranger.typ
--- wbr Maks Hi,
I have no problem processing such objects when assigning the continue statement to the lines rules. The continue statement crosses style files. Take a look at the park in the lower left of this screenshot: http://www.cferrero.net/maps/shot_AD_detail2.html You can see that the wall renders around the park just fine. Looking at your style file, your lines rules explicitly doesn't apply a wall to any object which also has the landuse tag set, which is probably why it isn't working for you. -- Charlie

I update mkgmap to current, now works, tnx. В сообщении от 9 декабря 2010 16:33:45 автор Charlie Ferrero написал:
On 09/12/2010 17:06, Maks Vasilev wrote:
Hi!
http://www.openstreetmap.org/browse/way/87336026 barrier = wall + landuse = industrial
http://www.openstreetmap.org/browse/way/86381931 amenity = parking + barrier = fence
I have description for line "barrier=" in "line" style file and for way "landuse=" in "polygon" style file, but mkgmap generete only 1 object (polygone) without using line style barrier=. Key "countinue" work only in 1 style file (line or polygon).
What way to generate 2 objects in output file - line for barrier and polygone for content?
my mkgmap style: http://code.google.com/p/velo100mapper/source/browse/trunk/stranger/
my TYP: http://velo100mapper.googlecode.com/svn/trunk/stranger.typ
--- wbr Maks
Hi,
I have no problem processing such objects when assigning the continue statement to the lines rules. The continue statement crosses style files.
Take a look at the park in the lower left of this screenshot: http://www.cferrero.net/maps/shot_AD_detail2.html
You can see that the wall renders around the park just fine.
Looking at your style file, your lines rules explicitly doesn't apply a wall to any object which also has the landuse tag set, which is probably why it isn't working for you.
-- Charlie _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (2)
-
Charlie Ferrero
-
Maks Vasilev