GithubHelp home page GithubHelp logo

robot8a / osm_leaderboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mmann1123/osm_leaderboard

0.0 0.0 0.0 99.01 MB

This application creates a leaderboard of OpenStreetMap contributors based on the number of nodes they have contributed for a given bounding box and time period.

License: MIT License

Python 100.00%

osm_leaderboard's Introduction

OSM_LeaderBoard

This is a Dash application that creates a leaderboard of OpenStreetMap contributors based on the number of nodes they have contributed for a given bounding box and time period.

Executables

Executable files for OSx, Windows and linux are available for download:

exe

Note: Make sure to download and update example_config.yaml

Running the Application

  1. Update the contents of config.yaml file with the desired bounding box, usernames, and optional date.

  2. Run the application using one of the following methods:

    A) From the downloaded executable file: Double click on the downloaded executable file to run the application.

    B) From Python: From the terminal window, navigate to the directory where the dash_app.py file is located. To download and run the application, use the following command:

    pip install git+https://github.com/mmann1123/OSM_LeaderBoard.git

    Once installed simply type:

    leaderboard
  3. Then in the browser window select or drag your config.yaml file to the upload box. The leaderboard will be displayed in the browser window once the api calls are complete.

Configuration

The application is configured through a file config.yaml file. Here's what each configuration option does:

  • bbox: This is the bounding box for the area you're interested in. It should be a string with four comma-separated numbers representing the latitude and longitude of the southwest and northeast corners of the bounding box, respectively. For example: "40.551042, -74.05663, 40.739446, -73.833365".

Note: You can use http://bboxfinder.com/
switch "coordinate format" to "Lat / Lng"

  • usernames: This is a list of usernames that the application will use to do XYZ. Each username should be a string. For example:

    usernames:
      - mmann1123
      - ...
      - ...
    
  • newer_than_date: This is an optional configuration option. If provided, the application will only consider data newer than this date. The date should be a string in the format "YYYY-MM-DD". For example: "2024-05-01".

An example config.yaml file might look like this:

bbox: "40.551042, -74.05663, 40.739446, -73.833365"
usernames:
  - mmann1123
  - haycam
  - I-Izzo
  - isamah
newer_than_date: "2010-12-01"   

Demo

OSM Leaderboard

Credits

GWU Geography pygis.io YouthMappers


DOI

osm_leaderboard's People

Contributors

jenningsanderson avatar mmann1123 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.