Please draw a polygon by clicking on the map
make sure to close the loop to start information lookups.
Fill in:
5%
Waiting on form data.
After finding the location name(see below, Drawing Data), a query is sent to the wikipedia api: https://www.mediawiki.org/wiki/API:Main_page This result is parsed to obtain area and population, then the households are calculated (see below).
When drawing a polygon the Area is calculated by the openstreetmap leaflet library. This number is accurate.
The location name is obtained by doing a reverse geo lookup for the center of the polygon, using the openstreetmap api: https://nominatim.org/release-docs/latest/api/Search/ From this response a municipality, city, town, village is selected (can be improved upon somewhat).
When calculating the population and household for the area drawn on the map, the wikipedia area is compared to the dawn area. This fraction taken from the wikipedia population, subsequently the households are calculated (see below).
Note: Sometimes the wikipedia polygon or political boundaries contain uninhabited areas, like forests, lakes, seas, etc. It is the users responsibility to tweak/correct the households value in the form.
Average of multiple sources and setting to a number which is slightly lower, to account for people living alone.
Average speed for both urban and rural daytime, nighttime and during rush hour
Calculated by plotting routes using Google Maps in August 2024
Rural is calculated by taking the values for urban and multiplying day by 0.70, night by 0.45, rush by 0.9
Note: Work In Progress, there are some routes plotted in Google Maps, but not enought to average yet.