![](../logo.png)
Get all gazetteer records where the geometry intersects with the given latitude and longitude
Source:R/01_gaz_search.R
gaz_rest_records_by_lat_long.Rd
Get all gazetteer records where the geometry intersects with the given latitude and longitude
Arguments
- latitude
(double) A decimal number which ranges from -90 to 90. Coordinates are assumed to be in WGS84
- longitude
(double) A decimal number which ranges from -180 to 180. Coordinates are assumed to be in WGS84
- with_geometry
(logical) Add geometries to the result data frame? Default = FALSE
- typeid
(numeric) Restrict to one or more placetypeIDs. Retrieve a list of placetypeIDs with
gaz_rest_types()
Examples
if (FALSE) {
gaz_rest_records_by_lat_long(51.21551, 2.927)
gaz_rest_records_by_lat_long(51.21551, 2.927, with_geometry = TRUE, typeid = c(255, 259))
}