
11 Jul
2013
11 Jul
'13
9:14 p.m.
Hi WanMil, great work! Am 11.07.2013 23:04, schrieb WanMil:
The patch adds a new style function called garmin_area(). garmin_area() returns the size of an area in garmin-units ^2. It works for polygons only. Unclosed ways return 0.
Please test it and let me know: * Do you have a better name? What about polygon_size() or area_size() ?
* What to do with multipolygons? Should garmin_area() return the multipolygon size for all splitted parts of the mp? For me this would be the prefered solution, because the user have not to care about polygon/multipolygon.
Henning