logo separator

[mkgmap-dev] [PATCH v1] garmin_area() style function

From Andrzej Popowski popej at poczta.onet.pl on Sat Aug 10 18:06:50 BST 2013


 > I think results for lat=x° should equal lat=-x°?

Yes, simplified formula would be: area(latitude) = area_0*cos(latitude)
There is something wrong with your calculations for negative values.

Another problem.
My first idea was to use area function to change small polygons into 
POI. Unfortunately area is not available for POI generated form 
polygons. I can calculate which polygons should be removed but I'm not 
able to find out which POI should be added.

Maybe area function could be added to POI?

Best regards,

More information about the mkgmap-dev mailing list