Coder Social home page Coder Social logo

jmaspons / osmapir Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 3.0 9.81 MB

An R interface to OpenStreetMap API for fetching and saving data from/to the OpenStreetMap database

Home Page: https://docs.ropensci.org/osmapiR/

License: GNU General Public License v3.0

R 63.09% YAML 0.04% Markdown 1.26% JSON 5.46% XML 30.15% Text 0.01%
openstreetmap openstreetmap-api osm r r-package osmapi

osmapir's Introduction

osmapiR osmapiR website

R-CMD-check Codecov test coverage CRAN checks Project Status: Active CRAN_Status_Badge CRAN Downloads

An R interface to the OpenStreetMap API v0.6 for fetching and saving raw geodata from/to the OpenStreetMap database. This package allows access to OSM maps data as well as map notes, GPS traces, changelogs, and users data. osmapiR enables editing or exploring the history of OSM objects, and is not intended to access OSM map data for other purposes. See Related packages for other packages to access OSM map data.

Important

You are responsible for following the API Usage Policy. You can modify the user agent of the requests by setting the option osmapir.user_agent:

options(osmapir.user_agent = "my new user agent")

Respect and follow the standards and conventions of the OpenStreetMap community. If you plan to do automated edits, check the Automated Edits code of conduct.

Installation

To install latest CRAN version:

install.packages("osmapiR")

You can install the development version of osmapiR from GitHub with:

# install.packages("remotes")
remotes::install_github("ropensci/osmapiR") # Without vignettes

## With vignettes (also accessible at https://docs.ropensci.org/osmapiR/ > Articles)
# install.packages("rmarkdown") # Needed to build vignettes.
remotes::install_github("ropensci/osmapiR", build_vignettes = TRUE)

Get started

For an overview of the functions, check ?osmapiR-package or the web.

For basic examples, check vignette("osmapiR", package="osmapiR").

Related packages

  • osmdata implements the Overpass API to query data from OSM.
  • osmextract matches, downloads, converts, and imports bulk OSM data (.pbf files).
  • OpenStreetMap accesses high resolution raster maps using the OpenStreetMap protocol.

osmapiR is the only package to access other OSM data than the maps data (map notes, GPS traces, changelogs and users). It is also useful to get the history of the OSM objects and is the only package that allows editing and upload any kind of data.

To access OSM map data for purposes other than editing or exploring the history of objects, it may be better to use other packages that implement the Overpass API (osmdata) or that works with .pbf files (osmextract).

Code of Conduct

Please note that this package is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

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.