Page tree
Skip to end of metadata
Go to start of metadata



This operation is almost exactly like GetGeoLocation except that it provides latitude/longitude coordinates based on provided municipality and province.

URL Endpoints


JSON: 

https://trial.serviceobjects.com/GCC/api.svc/json/GetGeoLocationByMunicipalityProvince?Municipality={MUNICIPALITY}&Province={PROVINCE}&LicenseKey={LICENSEKEY}

XML: 

https://trial.serviceobjects.com/GCC/api.svc/xml/GetGeoLocationByMunicipalityProvince?Municipality={MUNICIPALITY}&Province={PROVINCE}&LicenseKey={LICENSEKEY}


GetGeoLocationByMunicipalityProvince Inputs


Name

Type

Description

Municipality

String

The municipality to geocode.

Province

String

The province to geocode.

License Key

String

Your license key to use the service. Sign up for a free trial key at
https://www.serviceobjects.com/products/address-geocoding/address-geocode-canada


 

GetGeoLocationByMunicipalityProvince Outputs 


Name

Type

Values

Description

Latitude

String

Number

The latitude of the given municipality and province.

Longitude

String

Number

The longitude of the given municipality and province.

Postal Code

String

String

The postal code of the given municipality and province

ErrorErrorVariesError object indicating why the service could not return a result.


References




  • No labels