Skip to content

Project shows map with 10 closest films which were been filmed near specific location in some year.

License

Notifications You must be signed in to change notification settings

hellcastter/films_map

Repository files navigation

Films Map

About project

This project shows a map with 10 closest films filmed near a specific location in some year. The result will be saved in a map in HTML format that can be opened in a web browser.

This information can be used for tourists and people interested in filming and who want to visit legendary places nearby.

Result example

Example for the following command

python3 main.py 2003 36 -96.5 locations1000.list

Example

Time restriction

The original file has 1.200.000 films and serials. It's too much for a normal situation. So we were forced to decrease locations.list to 40.000. If you feel it's too long or you have a bad internet connection, there is location1000.list, which has 1000 films, or feel free to decrease files more.

Installation and start

To start the project do the following commands:

Install requirements

python3 -m venv venv

source venv/bin/activate # if you are using macOS
venv/bin/activate # for Windows

pip3 install requirements.txt

Start project

python3 main.py {year} {latitude} {longitude} {path_to_file}
  • year - the year in which films were created. Example: 2000
  • latitude - latitude of the starting point. Example: 49.841952
  • longitude - longitude of starting point. Example: 24.0315921
  • path_to_file - path to the database file. Example: location.list

Determinate

deactivate

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Project shows map with 10 closest films which were been filmed near specific location in some year.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published