/web_map

Primary LanguageHTML

Web_map

Module generates .html file, that can create map with population and films' filming locations.

Installation

You need to install everything from requirements.txt file via command

sudo pip install -r  requirements.txt

Usage

Start the application

python3 web_map.py

You will need to enter year to generate map with films for that year.

In case of
geopy.exc.GeocoderQuotaExceeded: HTTP Error 429: Too Many Requests
try to change your WI-Fi network or use VPN service

Then you will get Map_{year}.html

HTML file description

first tag <!DOCTYPE HTML> directly define that file type is html5
<head> contains all technique information of the document
<meta> contains an meta tags, which contain information for browsers and search systems
<script> contains references to program or its text
<link> sets connection with external documents
<style> defines styles of elements of the page
<body> contains all maintain of web-page. In this case is short because all is performed in script
After this file contains code to generate the map itself.

Conclusion

We can use this map to analyze dependences of film locations and population. To conclude, we can not find any dependency of these two stats.