Hi there,
We would like to use the coordinates of a specific map markers, e.g. Walkable, instead of using the display address field. We found different fields on the API, e.g.
{
"walkableLat": 51.567757958235184,
"walkableLng": -0.13284477591514632,
"yextWalkableLat": 51.567757958235184,
"yextWalkableLng": -0.13284477591514632,
}
What is the difference between them, the results are the same?
thanks,
Hi Manuela,
The second set of coordinates are the Yext coordinates which are actually pushed to publishers given their high confidence.
These two sets of values are not always identical. If a user were to upload something different that has less confidence than the Yext geocode coordinates, these sets of values may differ.
Best,
DJ
Hi @DJ_Corbett
thanks for replying so quickly to my question. Correct me here if I am wrong, So you are saying that users can add an address that could be less precise than the yext geocode coordinates.
So in the backend, Yext has a system that can geocode the address field and give more reliable coordinate sets. Therefore, if my team is building a plugin that would covert a set of coordinates to our geocoded address code, it would be better to use the yext geocode coordinates than those uploaded by the customers, am I right?
Also since you mentioned the Yext geocoded coordinates I found these set of coordinates for my default address in one of my location entity, geocodedCoordinate and yextDisplayCoordinate, I guess If I understood it right we should consider using the yextDisplayCoordinates for our plugin since are those that are pushed to publishers?
geocodedCoordinate": {
"latitude": 51.5211796,
"longitude": -0.1965499
},
"yextDisplayCoordinate": {
"latitude": 51.5211796,
"longitude": -0.1965499
},
Thanks again,
Manuela
1 Like
Hi Manuela,
That’s exactly right - we strongly recommend your team uses the yextDisplayCoordinates as they are the most precise.
Let us know if you have further questions!
Ash
2 Likes
Hi there,
one more question on this topic. Is the yextDisplayCoordinates based on the geocoding of the postcode of the address that I add to my Location Entity?
Hi Manuela,
Thanks for the follow-up! The yextDisplayCoordinates are based on the exact address of the location entity (Address1/2, City, State, PostalCode). Our backend servers will automatically try to find the exact coordinates of the address upon inputting that information into the Knowledge Graph. Let me know if that answers your questions!
Thanks,
Ash