Hi,
To add latitude and longitude to an image following steps might help you in getting started:
- Define the geographic extent of the image. These values should be determined from your data or metadata. Geographic extent means defining the maximum and minimum latitude and longitude.
- Overlay latitude and longitude grid lines
- Get image size and plot the latitude and longitude.
The output for provided image is given below:
To mark the specific location “X” based on longitude and latitude follow the given below steps:
- Define the latitude and longitude of the point “X”.
- Convert the latitude and longitude to image coordinates
- Mark the point 'X' on the image
Hope that helps!