When submitting get requests to HERE geocoding for Canadian locations, I am receiving a 3 character postal code instead of a 6 character code.
https://geocode.search.hereapi.com/v1/geocode?q=VICTORIA%2C+BC&limit=1&apiKey=xxxxx
Submitted Location
- City = Victoria
- State = BC
Postal Code Output
- V8W
In this case I am expecting the 6 character code to be returned as something like V8W 2L9. Is there anyway I can express this format in the get request?
Raw Output b'{"items":[{"title":"Victoria, BC, Canada","id":"here:cm:namedplace:21160111","resultType":"locality","localityType":"city","address":{"label":"Victoria, BC, Canada","countryCode":"CAN","countryName":"Canada","stateCode":"BC","state":"British Columbia","county":"Capital","city":"Victoria","postalCode":"V8W"},"position":{"lat":48.42855,"lng":-123.36445},"mapView":{"west":-123.39443,"south":48.40302,"east":-123.32237,"north":48.45036},"scoring":{"queryScore":1.0,"fieldScore":{"country":1.0,"state":1.0,"city":1.0}}}]}'