osmclass
0.1.5Classify Open Street Map Features
Overview
Classify Open Street Map (OSM) features into meaningful functional or analytical categories. Designed for OSM PBF files, e.g. from https://download.geofabrik.de/ imported as spatial data frames. A classification consists of a list of categories that are related to certain OSM tags and values. Given a layer from an OSM PBF file and a classification, the main osm_classify() function returns a classification data table giving, for each feature, the primary and alternative categories (if there is overlap) assigned, and the tag(s) and value(s) matched on. The package also contains a classification of OSM features by economic function/significance, following Krantz (2023) https://www.ssrn.com/abstract=4537867.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 86%
- Documented parameters
- 100%
- Return-value docs
- 80%
- References docs
- 29%
Downloads
Repository
Stars over time
Forks over time
PRs over time
Repository practices
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/sebkrantz/osmclass on 2026-08-16.
Development tooling
Uses AI-assisted development tooling (declared in repo)
Earliest detected marker: claude on 2026-05-18
Most recent: claude on 2026-05-18
- claude: on 2026-05-18 · evidence B, D
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
3 releases. Pick two to compare their code metrics. R releases are shown for context.
- 0.1.5Latest
- 0.1.42026-05-03 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 0.1.32026-03-10
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2023-08-17
- Total releases
- 3 / 3 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.3.0
- Bundled data
- 146 KB / 1 file
- Download size
- 176 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("osmclass")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.