pledge4future / co2calculator

Python package to calculate work related CO2 emissions from heating and electricity consumption as well as business trips and commuting.
https://pledge4future.github.io/co2calculator/
GNU General Public License v3.0
13 stars 6 forks source link

Fix Pelias Geocoding issues for flights #101

Closed veitu closed 2 years ago

veitu commented 2 years ago

Pelias does not find airports for some IATA codes. Instead, it finds some places that are not airports. For example, for the IATA code "HAM" (Hamburg) it finds "Hampton Inn Raleigh Durham Airport, Morrisville, NC, USA" and a couple of other places.

Also, the calculated emissions for some of the flights are ridiculously high, I am also assuming a geocoding error there. This concerns for example the flights MUC-BRE and MUC-LHR.

han16nah commented 2 years ago

I guess we have to find alternatives for using Pelias. Some suggestions below:

Free - first choice

Commercial - would not opt for these