[mkgmap-dev] Option to output polygons in size order
From Ticker Berkin rwb-mkgmap at jagit.co.uk on Sun Jul 24 19:23:41 BST 2016
Hi Gerd Looking at the meaning of the sub-division, this looks like just the place to try and order the polygons by size! What governs the order they appear in at the moment? The size should be the full size of the individual polygon. Concerning the new thread "Why do we render place=island polygons in the default style", I have used "place=island & size_of() < 1000000" to get around the major problem but it seemed a bit arbitrary, and when I found other examples where, just sometimes, large polygons mask all features within I thought there must be a more general solution Ticker On Sun, 2016-07-24 at 00:05 -0700, Gerd Petermann wrote: > Hi Ticker, > > Ticker Berkin wrote > > I'd understood and hoped that, for areas with the same level it > > rendered areas in file order, and I see on my device it > > overwriting, > > sometimes woods with island, sometimes the other way around, > > depending > > on, I presumed, the input ordering. I see the exactly the same > > overwriting effect zooming in or scrolling in any direction. > > > > What is the scale of the 'sub areas' you mention? > > I should have said sub division , and they have no specific scale. > They are used to group nearby elements, and they have several limits > like "not more than 255 points and not more than 255 lines in one sub > div" > For details see first the imgformat-1.0.pdf from Mechalas: > http://sourceforge.net/projects/garmin-img/files/OldFiles/imgformat.p > df/download > Other sources: > http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/IMG_File_Format > (which has more links at the end) > > Reg. the British Islands polygon: If I got that right this is the > very complex mp-relation > https://www.openstreetmap.org/relation/6038068 > (don't use the link, the thing is too complex) > It was added 2016-03-09 so maybe the problem is rather new and nobody > noticed it. I think it makes no sense to render that polygon, the > rules > in the default style should be changed to check the > area_size() for place=island so that large polygons are ignored. > I'll try to find a reasonable value. > > Gerd > > > > > > > -- > View this message in context: http://gis.19327.n5.nabble.com/Option-t > o-output-polygons-in-size-order-tp5878989p5879011.html > Sent from the Mkgmap Development mailing list archive at Nabble.com. > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] Option to output polygons in size order
- Next message: [mkgmap-dev] Option to output polygons in size order
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list