https://github.com/giscience/ohsome-now-stats-frontend
This is the frontend application for the ohsomeNow stats.
https://github.com/giscience/ohsome-now-stats-frontend
Last synced: 10 months ago
JSON representation
This is the frontend application for the ohsomeNow stats.
- Host: GitHub
- URL: https://github.com/giscience/ohsome-now-stats-frontend
- Owner: GIScience
- License: gpl-3.0
- Created: 2023-04-04T15:09:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T14:11:23.000Z (over 1 year ago)
- Last Synced: 2024-10-25T09:33:57.101Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://stats.now.ohsome.org/
- Size: 4.1 MB
- Stars: 5
- Watchers: 8
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ohsomeNow stats frontend
[](https://jenkins.heigit.org/job/ohsomeNow%20stats%20frontend/job/main/)
[](https://sonarcloud.io/dashboard?id=GIScience_ohsome-now-stats-frontend)
[](https://github.com/GIScience/badges#active)
[](LICENSE)
[](https://stats.now.ohsome.org)
The **ohsomeNow stats** website offers up-to-date and global scale overview statistics on mapping activity in OpenStreetMap (OSM).
The website allows you to get insights into the number of contributors, total map edits, added buildings and added road length for a given time range and OSM changesets hashtag filter.
Additionally, topics covering a range from the length of added waterways, to the number of newly added healthcare facilities are reported.
You can use this website to report mapping statistics for any time range starting from 2009-04-21 when the OSM-API version 0.6 introduced changesets.
The numbers you obtain from ohsomeNow stats get updated in near-realtime.
This means that every change to OSM will be considered by the dashboard a few minutes after the edit has happened in OSM.

The core features are:
* **Overview Statistics**: Your mapping activity statistics summarized into a single line. Currently we do report on number of contributors (green), total edits (red), buildings (purple) and km of roads (blue) for your hashtag time range.
* **Trending Hashtags Chart**: Most frequently used mapping-hashtags in your chosen time-interval and country selection! The first entry in the list represents the hashtag with the highest number of distinct OSM contributors.
* **Country Map**: Number of contributions and OSM edits per country - graphically nicely displayed in form of an interactive world map.
* **Timeline Plot**: Insights about the dynamics in mapping activity over time. Define your time interval and show the effectiveness of single mapathons or long-term mapping campaigns.
For details about the ohsomeNow stats API check [GIScience/ohsome-now-stats-service](https://github.com/GIScience/ohsome-now-stats-service).
# For Developers
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 19.2.6.
## Development server
Run `pnpm install` to install the dependencies.
Run `pnpm run dev` or `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Run `pnpm run build` or `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
## Running unit tests
Run `pnpm run test` or `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
Design inspired from [Colorlib Adminator](https://github.com/puikinsh/Adminator-admin-dashboard)