0

I'm trying to figure out how to get the polygon's area (eg, a town) in feet/km on my d3 map. Currently have this as a way to get the distance from one point to another

http://www.movable-type.co.uk/scripts/latlong.html

I'm not sure if there's a better way of doing it?

gdubs
  • 2,724
  • 9
  • 55
  • 102
  • If you're not planning to do area and distance calcs as part of the interactivity of your dataviz, wouldn't QGIS be a lot easier? e.g. Use the Distance Matrix drop-down option in QGIS on your shapefile, etc. – goblin-esque Sep 30 '14 at 18:29
  • That stuff is much easier with Openlayers, see e.g. http://dev.openlayers.org/examples/measure.html – Lars Kotthoff Sep 30 '14 at 20:01

0 Answers0