Giter Site home page Giter Site logo

filmmap's Introduction

Film Map

Creates an HTML map with the location you entered (black marker) and shows (red markers) the nearest 10 locations where some films where shot in the given year

Program uses folium (generating HTML map) and geopy.geocoders (getting coordinates by location) libraries

Usage

Program works from a command line (uses argparse for parsing arguments)

> python main.py 2017 1 1 locations_1.4

It takes 4 positional arguments:

  • year
  • latitude of the starting point
  • longitude of the starting point
  • path to the dataset (1.4 thousand films) or the larger one (1.2 million films)

Output

Program creates an html file like this

Example

Tool set

When you open the map you can:

  • zoom in or out and enter or exit full-screen mode (topright) plus minus full_scr

  • show or hide layers of film markers and you starting location (topright) layers l1 l2 l3

  • change scrolling method (bottomleft) scroll

  • mini map that shows your location and you can change the location on it (bottomright)
    minimap

filmmap's People

Contributors

beheni avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.