[mkgmap-dev] Computing area (was: length () in relations file)

2013-02-26 Thread Toby Speight
0 In article 51194252.7080...@web.de, 0 WanMil URL:mailto:wmgc...@web.de (Wanmil) wrote: Wanmil It might be possible. The problem to be solved is that the Wanmil garmin map geometry is not rectangular. So at the moment I Wanmil don't know how the area size of a polygon can be calculated in Wanmil

Re: [mkgmap-dev] Computing area

2013-02-26 Thread Toby Speight
Oops - old version. Here's the correct one: #include osmium.hpp #include osmium/storage/byid.hpp #include osmium/handler/coordinates_for_ways.hpp #include osmium/handler/multipolygon.hpp #include osmium/geometry/multipolygon.hpp #include geos/geom/Geometry.h #include