util_geo#
geo_distance#
|
Calculate the distance between two points on the unit sphere. |
|
Calculate the great-circle distance between multiple pairs of points on the Earth's surface specified in decimal degrees using the Haversine formula. |
|
Find the k nearest points from a list of points to a geometry object (points) within a given radius. |
|
Find the closest point from a list of reference points. |
|
Get the coordinates from a geometry object. |
|
Project a point to a line and return the projected point on the line. |
Coordinate Conversation#
|
Convert coordinate from WGS84 to Baidu09. |
|
Convert coordinate from WGS84 to GCJ02. |
|
Convert coordinate from GCJ02 to WGS84. |
|
Convert coordinate from GCJ02 to Baidu09. |
|
Convert coordinate from Baidu09 to WGS84. |
|
Convert coordinate from Baidu09 to GCJ02. |
geo_circle#
|
Generate a polygon by the center point and radius. |
geo_area#
|
Calculate the area of a geometry in WKT format. |
Download Elevation Tiff File#
|
Download elevation data (TIFF) from USGS National Map based on a bounding box. |
gmns_geo#
|
Read node.csv file and return a dict of nodes. |
|
Read link.csv file and return a dict of Links. |
|
Read poi.csv file and return a dict of POIs. |
|
Read zone.csv file and return a dict of Zones. |
|
Geocode a place name to dictionary of its attributes and geometry from OpenStreetMap. |
OSM data and place#
|
Geocode a place name to dictionary of its attributes and geometry from OpenStreetMap. |
|
Downloads OpenStreetMap (OSM) data for a specified region using the Overpass API. |
|
Downloads OpenStreetMap (OSM) data for a specified bounding box using the Overpass API. |
|
Extracts bounding box coordinates from a string, tuple, or list. |