Skip to contents

Geocoding

Search OpenStreetMap using free-form text, structured queries or geographic coordinates.

Search for places and addresses using free-form text or structured address components.

geo_lite()
Search for addresses with free-form queries
geo_lite_sf()
Search for addresses with free-form queries and return sf objects
geo_lite_struct()
Search for addresses with structured queries
geo_lite_struct_sf()
Search for addresses with structured queries and return sf objects

Reverse geocoding

Convert latitude and longitude coordinates into human-readable addresses.

reverse_geo_lite()
Reverse geocode coordinates
reverse_geo_lite_sf()
Reverse geocode coordinates and return sf objects

OpenStreetMap lookups

Retrieve OpenStreetMap features directly from existing OSM identifiers or search for amenities within a geographic area.

Address lookup

Retrieve OpenStreetMap nodes, ways and relations from their OSM identifiers.

geo_address_lookup()
Look up OpenStreetMap objects
geo_address_lookup_sf()
Look up OpenStreetMap objects and return sf objects

Amenity lookup

Find OpenStreetMap amenities and points of interest inside a bounding box.

geo_amenity()
Look up OpenStreetMap amenities
geo_amenity_sf()
Look up OpenStreetMap amenities and return sf objects

Utilities

Helper functions and bundled datasets.

Spatial output

Convert returned bounding boxes into sf polygon geometries.

bbox_to_poly()
Convert a bounding box to an sfc POLYGON object

Datasets

Sample data included with the package.

osm_amenities
OpenStreetMap amenities

Package documentation

Package overview and metadata.

nominatimlite nominatimlite-package
nominatimlite: Interface to the 'Nominatim' API