Documentation ¶
Overview ¶
Package osm provides common types for OpenStreetMap used by various providers and some helper functions to reduce code repetition across specific client implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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"` 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"` }
Address contains address fields specific to OpenStreetMap
Click to show internal directories.
Click to hide internal directories.