Geocode
Forward geocode an address
client.Geocode.Forward(ctx, query) (*GeocodeResult, error)
GET/api/v1/geocode
Reverse geocode a coordinate
client.Geocode.Reverse(ctx, query) (*ReverseGeocodeResult, error)
GET/api/v1/geocode/reverse
Autocomplete a partial address
client.Geocode.Autocomplete(ctx, query) (*AutocompleteResult, error)
GET/api/v1/geocode/autocomplete
Batch geocode multiple addresses
client.Geocode.Batch(ctx, body) (*GeocodeBatchResponse, error)
POST/api/v1/geocode/batch
ModelsExpand Collapse
type AutocompleteResult struct{…}GeoJSON FeatureCollection of autocomplete suggestions
type AutocompleteResult struct{…}
GeoJSON FeatureCollection of autocomplete suggestions
Features []GeocodingFeature
Features []GeocodingFeature
Geometry GeoJsonGeometry
Geometry GeoJsonGeometry
type GeocodeResult struct{…}GeoJSON FeatureCollection of geocoding results
type GeocodeResult struct{…}
GeoJSON FeatureCollection of geocoding results
Features []GeocodingFeature
Features []GeocodingFeature
Geometry GeoJsonGeometry
Geometry GeoJsonGeometry
type GeocodingFeature struct{…}
type GeocodingFeature struct{…}
Geometry GeoJsonGeometry
Geometry GeoJsonGeometry
type ReverseGeocodeResult struct{…}GeoJSON FeatureCollection of reverse geocoding results
type ReverseGeocodeResult struct{…}
GeoJSON FeatureCollection of reverse geocoding results
Features []GeocodingFeature
Features []GeocodingFeature
Geometry GeoJsonGeometry
Geometry GeoJsonGeometry