Does not provide full postcode when using UK map

1200
5
06-15-2017 12:57 AM
Surajit_Kr_Saha
New Contributor

Hi,  

We are integrate esri map for our client where users can point on map and when point on map user get the Postcode,and basically we provide UK map by default. When user point on that its does not provide full postcode always last two letters are missing. but for other countries its provide full postcode. 

0 Kudos
5 Replies
MirHashmi
Occasional Contributor

Hi. If possible, please share your map service URL to debug if there is an issue. Also you can make sure if the data that you require exists in your back end. 

0 Kudos
Surajit_Kr_Saha
New Contributor

Hi,

http://59.162.181.93/Sovereign-Umbraco/garage-application-form

This is my application link. kindly check out and let me know, and this

postcode coming from esri map API, we don't have any data in back end.

--

thanks and regards

Surajit Saha

Application Developer

(MS .Net Technology)

DreamzTech Solutions Pvt Ltd

0 Kudos
MirHashmi
Occasional Contributor

I checked your application link and found that the reverse geocode service returns a truncated post code in response. Maybe this is some kind of a data policy from esri or it could be a bug within the service. Although if you make a search by full post code it returns correct result. You cannot do anything on this as you aren't the owner of this service. Nevertheless, this can be answered by someone from ESRI. Alexander NoheThomas SolowJonathan QuinnKGerrow-esristaff

ThomasSolow
Occasional Contributor III

Here are some URLs that demonstrate the issue: 

example 1 

example 2

If I understand correctly, postal codes in the UK should have 2 more letters/digits, so something is going wrong here.  I don't have any clue what the problem is, but I agree with Mir that this is probably an issue in the geocoding service rather than a front-end problem.

I don't know where the best place to ask about this is, but you might try the REST API forum: https://community.esri.com/community/developers/web-developers/arcgis-rest-api 

JonathanQuinn
Esri Notable Contributor

I suggest you reach out to Technical Support so they can investigate further.