Hi I’m very new into TomTom API. I have a query about geocoding in python. Suppose I have two Streets A and B. How can I get the latitude and longitude of the point where street A intersects street B using TomTom API?
Hi,
One of the options is to use Structured Geocode of Search API.
Example request:
https://api.tomtom.com/search/2/structuredGeocode.json?countryCode=IT&streetName=Via%20dei%20Tribunali&crossStreet=Via%20Arti&municipality=Napoli&key=*****
This one is requesting Via dei Tribunali street with a cross street Via Arti in Naples in Italy. In the response you should be able to find
"type": "Cross Street",
...
which should contain it’s coordinates
Thank you so much …its working:)