[mkgmap-dev] length () in relations file
From WanMil wmgcnfg at web.de on Mon Feb 25 21:02:19 GMT 2013
Hi Minko, I think I found a formula to calculate the area size in a metric unit. But I have a problem to test that because I don't know the real area size of an OSM polygon. Can anybody please send some way (polygon) ids with it's real world area size? WanMil > 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 >> > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >
- Previous message: [mkgmap-dev] length () in relations file
- Next message: [mkgmap-dev] length () in relations file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list