I measured GIS distance from a point (latitude, longitude) to the target boundary using geopandas according to this post gis calculate distance between point and polygon / border. My code is the following.
import geopandas as gpd
from shapely.geometry import LineString, Point
import pandas as pd
TH_borders = gpd.read_file(os.path.join('gadm36_THA_0.shp'))
point = Point(16.7091717,98.572205)
print(point.distance(TH_borders.geometry[0]))
The shape file (latitude, longitude coordination) for TH_boarders can get from https://gadm.org/download_country_v3.html. The above code returns the results as follows
113.2216551338134
I'm wondering what is the unit of measure for that results. May I have your suggestion?