Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProviderKey = "osm_nominatim" DefaultGeocodeURL = "https://nominatim.openstreetmap.org/search" DefaultReverseGeocodeURL = "https://nominatim.openstreetmap.org/reverse" )
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
Types ¶
type Address ¶
type Address struct {
HouseNumber string `json:"house_number"`
Road string `json:"road"`
Pedestrian string `json:"pedestrian"`
Footway string `json:"footway"`
Cycleway string `json:"cycleway"`
Highway string `json:"highway"`
Path string `json:"path"`
Suburb string `json:"suburb"`
City string `json:"city"`
Town string `json:"town"`
Village string `json:"village"`
Hamlet string `json:"hamlet"`
County string `json:"county"`
Country string `json:"country"`
CountryCode string `json:"country_code"`
State string `json:"state"`
StateDistrict string `json:"state_district"`
Postcode string `json:"postcode"`
}
Click to show internal directories.
Click to hide internal directories.