migurski / Extractotron

Placeholder for some ideas about OpenStreetMap extracts
84 stars 81 forks source link

Improved area calculation #55

Closed NelsonMinar closed 11 years ago

NelsonMinar commented 11 years ago

New function for calculating area. Tested to within 1% of PostGIS' calculations. Also round the area output and add commas.

migurski commented 11 years ago

Finally, merged this. Sorry for the wait. I did roll back the string format part, because the thousands separator was only added in Python 2.7 and I still run this on a server with 2.6.