I know there is a built in draw order between some types. But I am sure that 
those extended types I use for depth areas have the same draw order.

A few years ago I did some testing and learned that I can influence which 
polygon is drawn on top by sorting the input. But this method only worked for 
types with the same built in draw order and it only worked for very small maps 
that fit in a single Garmin sub file. 

Obviously trying to control draw order with the new order-by-decreasing-area 
option can only be successful among types with same built in draw order. But I 
expected it will function on maps covering multiple Garmin sub files. 
Unfortunately it does not.


Von: Ticker Berkin
Gesendet: Sonntag, 13. November 2016 00:12
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Commit r3702: sortAreas_v5.patch: 
Addoption--order-by-decreasing-area

On my device I have to override the inbuilt _draworder, which gives a
higher priority to Ocean/Sea 0x32, to stop the sea areas hiding
everything - I just give polygon types 0x01 to 0x55 level 1 except for
background 0x4b which I give level 0. I don't have any extended types.

Is this on a device that doesn't support TYP/_draworder? Maybe it has
inbuild _draworder that can't be overridden or there is some subtlety
about what is shown.

Ticker Berkin


On Sat, 2016-11-12 at 20:48 +0100, rheinskipper1...@gmx.de wrote:
> I eagerly awaited the order-by-decreasing-area option.
>  
> Results are a bit different than I expected at the moment:
>  
> My style contains:
>  
> waterway=riverbank [0x10302 resolution 20]
> seamark:type=fairway {name 'fairway'}  [0x10307 level 2]
>  
> Unfortunately the smaller (white) fairway polygons are still partly
> covered by (blue) riverbank polygons:
> https://mega.nz/#!NN8UWDCK!LeR_h1cJeBVDGMxFeUf48l_qARfVdKXTMzRoHjy_rE
> w
> https://mega.nz/#!0B9AgZQJ!AZcQ9zHktIQ0D9Uq_nb_gRGG0eDGxCQaT0XuQJaebW
> c
>  
>  
>  
> Von: svn commit
> Gesendet: Freitag, 11. November 2016 17:11
> An: mkgmap-...@lists.mkgmap.org.uk; mkgmap-dev@lists.mkgmap.org.uk
> Betreff: [mkgmap-dev] Commit r3702: sortAreas_v5.patch: Add option-
> -order-by-decreasing-area
>  
> Version mkgmap-r3702 was committed by gerd on Fri, 11 Nov 2016
>  
> sortAreas_v5.patch: Add option --order-by-decreasing-area
>  
> Patch by Ticker Berkin, slightly modifed
>  
>  
> http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=3702
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>  
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to