• Stars
    star
    103
  • Rank 333,046 (Top 7 %)
  • Language
    JavaScript
  • License
    BSD 3-Clause "New...
  • Created over 8 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

OSM Analytics lets you interactively analyze how specific OpenStreetMap features are mapped in a specific region.

osm-analytics: data analysis tool frontend

Join the chat at https://gitter.im/hotosm/osm-analytics

OSM-Analytics lets you analyse interactively how specific OpenStreetMap features are mapped in a specific region.

Say, you'd like to know when most of a specific feature type (e.g. buildings) in a specific country or city were added. This tool lets you select the geographical region of interest and shows a graph of the mapping activity in the region. You can even select a specific time interval to get the number of touched features in that period, and the map will highlight the matching features. Alternatively, one can view the distribution of features by their mapper's user experience. The tool also gives a side by side comparison of the map state at different points in time and lets you view which HOT projects may have included the mapping of a region.

Features

  • supported feature types: buildings (any closed osm way with a building tag), roads (any osm way with a highway tag), rivers (any osm way with a waterway tag)
  • graphs of feature recency or mapper experience
  • highlighting of features by custom date range or user experience interval
  • calculated statistics: total number/length of features in selected region and date/experience range, number of contributors
  • shows which hot projects influenced the mapping of the selected region
  • compare map at different points in time
  • data updated daily

Technical Overview & Limitations

See documentation/architecture.md for background information.

Installation and Usage

The frontend is implemented in React/Redux and based on tj/Frontend Boilerplate.

Install dependencies:

$ npm install

Run in development mode:

$ npm start

Generate static build:

$ npm run build

The deploy.sh script can be useful to publish updates on github-pages.

Embedding

This user interface supports a custom UI for embedding on 3rd party websites, using an HTML iframe. It allows generating a time comparison between two points in time for the same region.

Comparison map

The above visualization can be generated using a specific URL structure:

https://osm-analytics.org/#/compare/<region>/<start_year>...<end_year>/<feature_layer>/embed/<theme_name>

  • iframe_base_url (http://osm-analytics.org)
  • region the area of interest the embedded map is shown for. Can be a bounding box (bbox:110.28050,-7.02687,110.48513,-6.94219), an encoded polyline of a polygon (e.g. polygon:ifv%7BDndwkBx%60%40aYwQev%40sHkPuf%40ss%40%7BfA_%40uq%40xdCn%7D%40%5E)), or a hot project id (e.g. hot:4053) or a link to a github gist that contains a polygon.geojson file (e.g. gist:36ea172ef996a44d36a554383d5fb4fa).
  • start_year (2016) represents the start year of an OpenDRI project
  • end_year (now) represents the end year of an OpenDRI project. now can also be provided to compare with latest OSM data
  • feature_layer (buildings) compare buildings, highways or waterways
  • theme_name (default) use the default OSM Analytics visual style, or the opendri theme

The gap detection view can also be used as an embedded map in a very similar way:

https://osm-analytics.org/#/gaps/<region>/buildings-vs-ghs/embed/<theme_name>

The edit recency and user experience views can also be embedded like this:

https://osm-analytics.org/#/show/<region>/<feature_layer>/embed/<theme_name>/recency or https://osm-analytics.org/#/show/<region>/<feature_layer>/embed/<theme_name>/experience

Here, one can optionally supply a time or user experience selection, which triggers highlights respective features or regions on the map that fall into the given time period or user experience range. Just append the respective query parameter to the embed URL: /?timeSelection=<timestamp_from>,<timestamp_to> (timestamps are seconds since epoch) or /?experienceSelection=<experience_from>,<experience_to> (experience values as defined in the respective layer's experience field).

See Also

More Repositories

1

tasking-manager

Tasking Manager - The tool to team up for mapping in OpenStreetMap
JavaScript
507
star
2

osm-tasking-manager2

Designed and built for Humanitarian OpenStreetMap Team collaborative emergency/disaster mapping, the OSM Tasking Manager 2.0 divides an area into individual squares that can be rapidly mapped by thousands of volunteers.
JavaScript
425
star
3

learnosm

LearnOSM.org content, Jekyll layouts & issue tracking. This repository is dedicated to helping people learn how to map in OpenStreetMap (OSM) and use many of the software and tools in the OSM community.
CSS
247
star
4

OpenAerialMap

OpenAerialMap is an open service to provide access to a commons of openly licensed imagery and map layer services.
242
star
5

osm-export-tool

Web service to download customised OSM data in various file formats
JavaScript
145
star
6

HDM-CartoCSS

CartoCSS project focused on the Humanitarian Data Model
CartoCSS
136
star
7

osm-tasking-manager

Deprecated! - See osm-tasking-manager2
CSS
84
star
8

fAIr

AI Assisted Mapping
Jupyter Notebook
79
star
9

tech

Resources and issue tracking for Technical Working Group and all things Tech within HOT. Start here to get more information about how to get involved in HOT.
68
star
10

hotosm-website

The website of the Humanitarian OpenStreetMap Team. See instructions below for writing blog posts or updating your profile.
HTML
66
star
11

fmtm

Field Mapping Tasking Manager - coordinated field mapping.
TypeScript
46
star
12

osm-export-tool-python

command line tool + Python library for exporting OSM in various file formats.
Python
44
star
13

oam-browser

OAM Imagery browser
JavaScript
42
star
14

ml-enabler

A service that integrates ML models to mapping applications.
Python
40
star
15

MapCampaigner

Campaign management tool
JavaScript
38
star
16

oam-dynamic-tiler

Dynamic tiling of raster data for OpenAerialMap + others
Python
35
star
17

underpass

A customizable data engine for processing mapping data
C++
31
star
18

oam-api

A catalog for OpenAerialMap imagery
JavaScript
24
star
19

visualize-change

A toolkit to visualize changes in OSM, part of the OSM Analytics ecosystem. Work in Progress.
JavaScript
23
star
20

iso-countries-languages

Country names translated in 89 languages
Clean
23
star
21

raw-data-api

Raw Data API is a set of high-performant APIs for transforming and exporting OpenStreetMap (OSM) data in different GIS file formats
Python
23
star
22

Geo-Data-Collect

This is mobile data collection based on ODK-Collect and OSM-Tracker. This app have both form collection capabilities and gps tracker capabilities
Java
19
star
23

toolbox

Documentation and training materials for mapping and data collection
JavaScript
17
star
24

presets

JOSM presets
16
star
25

old-export-tool

Version 1 of the Export Tool is suspended - please see V3 https://github.com/hotosm/osm-export-tool
Ruby
16
star
26

osm-fieldwork

Processing field data from ODK to OpenStreetMap format, and other field data collection utils.
Python
16
star
27

osm-analytics-cruncher

Backend code for osm-analytics
JavaScript
15
star
28

galaxy-api

Backend to fetch data from Underpass
Python
14
star
29

osma-health

HOT Analytics for Health
CSS
12
star
30

oam-server-tiler

DEPRECATED: OAM Server Tiler. See marblecutter-openaerialmap instead
Scala
12
star
31

HDM-JOSM-style

Humanitarian Data Model targeted JOSM style
12
star
32

drone-tm

Drone Tasking Manager - community-driven drone imagery collection.
TypeScript
12
star
33

hugo-book

HTML
12
star
34

fAIr-utilities

Utilities for AI-Assisted Mapping fAIr
Jupyter Notebook
11
star
35

oam-uploader

DEPRECIATED - The web frontend to the OAM Uploader API
JavaScript
10
star
36

oam-design-system

OAM Design System
CSS
10
star
37

tilemill-projects-windows

Sample TileMill projects that work on Windows. Get up and running with SQLite and PostGIS.
10
star
38

oam-qgis-plugin

QGIS plugin to access and upload to OAM
Python
10
star
39

installer

Windows installer for custom elements of software stack used in field by HOTOSM
Shell
9
star
40

tracing-guides

CSS
8
star
41

imagery-coordination

Coordination of Imagery Requests for HOT Activations and other humanitarian mapping
JavaScript
8
star
42

hotosm-project-ideas

A place to forge new ideas for HOT projects. Started as a repository for the GSoC and Outreachy programs.
8
star
43

ui

Shared UI components with HOT theming
TypeScript
7
star
44

datm-research

Research for the Drone Aerial Tasking Manager
Python
7
star
45

data_protection_project

Policies, guidance, tools, and resources for Data Protection in humanitarian mapping
6
star
46

openaerialmap.org

SCSS
6
star
47

qgis-templates-and-symbology-plugin

QGIS Map Templates and Symbology Plugin
Scheme
6
star
48

hot-design-system

CSS
6
star
49

drone-flightplan

Drone Flight Plan generator
Python
5
star
50

galaxy-ui

This is the frontend interface for the OSM Galaxy project built using React.
JavaScript
5
star
51

fmtm-splitter

A utility for splitting an AOI into multiple tasks.
Python
5
star
52

docs

Documentation index across HOT's tools.
5
star
53

scripts

HOTOSM Scripts
Python
5
star
54

overture-to-tiles

Provides handful scripts for converting overture data to vector tiles
Jupyter Notebook
5
star
55

osm-rawdata

A python module for accessing OSM data in a postgres database.
Python
4
star
56

ml-enabler-cli

Command line interface for the ml-enabler
Python
4
star
57

styles

Map styles used for HOTOSM
4
star
58

oam-server

DEPRECATED: OpenAerialMap processing and tile server
JavaScript
4
star
59

RamaniHuria

Assorted assets created during the "Dar Ramani Huria" project.
CartoCSS
4
star
60

visualtags

HOT Visual Tag Chooser
CSS
3
star
61

Portal-ID

Portal for OpenStreetMap.or.id
PHP
3
star
62

overture-data-viewer

View overture data releases in Map
3
star
63

techdoc

A repository of documentation processes
3
star
64

osm-merge

Merge data into existing OSM data.
Python
3
star
65

uav-mapping-guidelines

Technical Guidelines for Mapping with Small Unmanned Aerial Vehicles (UAV)
Python
3
star
66

oeg-auto-reports

Test version of automated OEG reports
3
star
67

oam-uploader-api

DEPRECIATED - The OAM Uploader API server
JavaScript
3
star
68

design-strategy

Tracking HOT's brand, design, and UI/UX strategy
2
star
69

fairpredictor

Standalone Module for Model Predictions
Jupyter Notebook
2
star
70

hot-qa-tiles

QA Tiles Generation
JavaScript
2
star
71

TM-Extractor

Raw Data Extractor for Tasking Manager Projects
Python
2
star
72

oam-docs

OAM Documentation
JavaScript
2
star
73

hot-uganda

Assorted assets created during the "Uganda Refugee Mapping" project.
2
star
74

osm-login-python

Package to manage OAuth 2.0 login for OSM in Python.
Python
2
star
75

ux-review

Collecting Contributions to a HOT product UX review
2
star
76

oam-uploader-admin

CSS
2
star
77

tech-feedback-review

Collecting contributions for techncial feedback review
2
star
78

underpass-ui

An User Interface for Underpass
JavaScript
2
star
79

hot-indo

Place to log tickets for the HOT Indonesia Team
2
star
80

hotosm-website-commonknowledge

Python
2
star
81

tasking-manager-terraform-modules

Terraform modules to get Tasking Manager up and running
HCL
2
star
82

piwik-archive

An archiving tool for piwik.hotosm.org
Python
2
star
83

gh-workflows

Github workflows that can be shared across all HOT projects.
Dockerfile
2
star
84

website

Python
2
star
85

dar-drainage-style

Mapbox and QGIS styles for making drainage maps
CartoCSS
2
star
86

community

Issue tracker for the HOT Community Working Group
1
star
87

hot-summit-2019

CSS
1
star
88

Facebook-ID

Ruby
1
star
89

field-campaigner-data

1
star
90

oeg-reporter

Organized editing guidelines reporter
Python
1
star
91

hot-summit-2017

CSS
1
star
92

oam-status

A simple status dashboard for oam-catalog
CSS
1
star
93

oam-server-deployment

DEPRECATED: Amazon Web Services deployment tooling OAM Server.
Python
1
star
94

GDAL_scripts

Various utility scripts/snippets for managing geographical data
Shell
1
star
95

omdena-hot-2024

Jupyter Notebook
1
star
96

tm-admin

Administrative modules for Tasking Manager style projects
Python
1
star
97

projects

An experimental container for HOT project management
1
star
98

hotdocs

Hugo theme for HOT Documentation sites
SCSS
1
star
99

osm-analytics-entrypoint

An index of OSM Analytics tools from different organizations
CSS
1
star
100

fmtm-installer

Easy install script for Field Tasking Mapping Manager (FMTM)
1
star