# Geographic Location

From Mini Program base library 2.6.3 and later and Developer Tools 1.02.1903251 and later

Cloud Base databases support adding, deleting, querying, and modifying various types of geographic location data, as below (API documentation):

Field Description
Point Point
LineString Line segment
Polygon Polygon
MultiPoint Point set
MultiLineString Line segment set
MultiPolygon Polygon set

To use the geographic location query feature, you must set up a geographic location index. We recommend setting up geographical location indexes for all fields used to store geographical location data. To create such indexes, you can go to Indexing on the console and select geographical location index (2dsphere).

For details, refer to the API documentation.

点击咨询小助手