Skip to content

The application visualizes up to 10 closest locations where films where taken.

Notifications You must be signed in to change notification settings

Paliy2/Web__map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 

Repository files navigation

Web map

The application visualizes up to 10 closest locations of the year you want on the world map.

What map can show you?

Map that is provided by OpenStreetMap. Nearest filming locations to your input data by the year. 10 closest places where films were taken.

Usage

To start the application you have to have installed python 3+ version. To run world_map you have to have all libraries that are used in this project. To run file just install geopy and folium python libraries and run web map.py file. It will create map in file Map.html. To access file of the map just go into tests and then open in your browser file Map.html.

After that you will have a field:

Enter a year(XXXX-format) you want to be showed on map: You have to enter the proper year. Please enter your location (format: lat, long): You have to enter the proper location like <36.7, -98.12>. After that you have to wait a littele bit(around 1 minute). You can see location and it's coordinates during generating process.

Common errors

You can bump into geopy.exc.GeocoderQuotaExceeded: HTTP Error 429: Too Many Requests or geopy.exc.GeocoderTimedOut: Service timed out problems. It's recommended to change the wifi network or use VPN.

Some Html tags:

<!DOCTYPE html> - to define that the type of file is HTML5.

<head> - the most important information

<meta> - metadata

<body> - information displayed in the web page

<!DOCTYPE html&gt, <head>, <body> make structure of any HTML file

<script> - use scripts like JS inside the HTML file

<link> - connect CSS to the HTML file

<style> - write CSS code inside HTML file

<div> -block of items. Easy grouping

Let's sum up

The program shows us a map with the nearest locations where the films of the chosen year were filmed.

I dont know if this web map will be usefull for you. But you can try it.

About

The application visualizes up to 10 closest locations where films where taken.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published