geoairline: geoairline

Description Usage Arguments Value Examples

View source: R/geoairline.R

Description

This function creates the shortest great circle line connection over a sphere between two cities

Usage

1
geoairline(city1, country1, city2, country2)

Arguments

city1

english name of the first city

country1

english name of the country of the first city

city2

english name of the second city

country2

english name of the country of the second city

Value

object of class geoairline - list of two elements: cities_sf and LINESTRING geometry between the cities

Examples

1
berlin2tokyo <- geoairline("Berlin", "Germany", "Tokyo", "Japan")

lorenzomorning/plotsphere documentation built on Dec. 21, 2021, 11:48 a.m.