Coder Social home page Coder Social logo

denhumen / closest_filming_places Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 17.38 MB

It is a simple python script that will show you closest filming locations using your input coordinates(latitude / longitude)

License: MIT License

Python 100.00%

closest_filming_places's Introduction

Map with closest filming places

Build Status

This is a Python script that creates a map with the closest places from a database to the input place. The input latitude and longitude are used to search for the nearest places in the database, and these places are displayed on a map using the Folium library.

Prerequisites In order to use this script, you will need to have the following installed:

  • Python3
  • Folium
  • Geopy

Usage

To use this script, follow these steps:

  1. Clone the repository to your local machine.

  2. Open a terminal and navigate to the directory where the repository is located.

  3. Ensure that you have the required dependencies installed (see Prerequisites).

  4. Run the script main.py using the following command:

python main.py <latitude> <longitude> <path_to_dataset>
  1. Replace , , <path_to_dataset> with the latitude and longitude of the input place and the path to your dataset, where script will get filming positions(the example file you can see directly in the repository and it must have .list extension), respectively.(as path_to_dataset you can use locations.list from this repo, there are given more than 10k filming locations)

The script will generate a map in your default web browser showing the closest places to the input location.

Example

Using folowing command in the cmd

python main.py 53.5 9.9 locations.list

We get this map: for git

Contributing

If you find a bug or have a feature request, please create an issue on the GitHub repository.

If you would like to contribute to the project, please fork the repository and create a pull request with your changes.

License

This script is released under the MIT License. See the LICENSE file for more information.

closest_filming_places's People

Contributors

denhumen avatar

Stargazers

Maxondevelop avatar

Watchers

 avatar

closest_filming_places's Issues

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.