logo separator

[mkgmap-dev] style polygon+line on one input object

From Charlie Ferrero charlie at cferrero.net on Thu Dec 9 13:33:45 GMT 2010

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



More information about the mkgmap-dev mailing list