GeonameAlternates

data class GeonameAlternates(var geoname: AlternateNames, var country: AlternateNames?, var adminDivisions: Map<UByte, AlternateNames>)

Alternate names for a geoname and its country and admin divisions.

Constructors

Link copied to clipboard
constructor(geoname: AlternateNames, country: AlternateNames?, adminDivisions: Map<UByte, AlternateNames>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Names for the geoname's admin divisions. This is parallel to Geoname::admin_division_codes. If there are no names in the ingested data for an admin division, then it will be absent from this map.

Link copied to clipboard

Names for the geoname's country. This will be Some as long as the country is also in the ingested data, which should typically be true.

Link copied to clipboard

Names for the geoname itself.