logo separator

[mkgmap-dev] length () in relations file

From WanMil wmgcnfg at web.de on Mon Feb 11 19:11:14 GMT 2013

Hi Minko,

It might be possible. The problem to be solved is that the garmin map 
geometry is not rectangular. So at the moment I don't know how the area 
size of a polygon can be calculated in a metric unit.

WanMil

> Can something like the length function also be implemented for polygons to render big lakes earlier?
> For example
> natural=water & area() > 10 [0x3c resolution 16]
> natural=water [0x3c resolution 18]
>
> (gmaptool shows this area in sq km)
>
>
>
>>> There was a typo where it was checking if the function was supported
>>> for
>>> nodes instead of relations. Now fixed.
>>>
>>> ..Steve
>>
>> --
>> keep on biking and discovering new trails
>>
>> Felix
>> openmtbmap.org & www.velomap.org
>>
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



More information about the mkgmap-dev mailing list