English
English
Appearance
English
English
Appearance
The Geolocation field stores geographic information in a structured way: it can hold Chinese administrative divisions (province/city/district), countries/regions, a detailed address, or precise latitude/longitude coordinates, and supports picking a point directly on a map. Its value is stored as a structured JSON object (GeoValue) rather than plain text, which makes it easy to filter, aggregate, and export by level later.
When creating or editing a Geolocation field, choose an Address format in the field settings. The mapping between formats and stored fields is:
| Address format | Description | Stored fields (GeoValue) |
|---|---|---|
| Province | Select province-level only | province |
| Province + City | Province and city (two levels) | province, city |
| Province / City / District | Province / city / district down to the district level (default format) | province, city, district |
| Province / City / District + Detail | Adds a detailed street/door number on top of the three levels | province, city, district, detail |
| Country / Region | Select country/region grouped by continent | region, country |
| Lat-Lng | Enter longitude/latitude coordinates directly | lng, lat |
| Map Picker | Pick a point on the map to get coordinates | lng, lat, address |
When not explicitly configured, the default is "Province / City / District".
Click the field to open a multi-column cascading panel and select province, city, district in turn (for the "Province / City / District" format). A search box at the top lets you locate entries quickly by keyword.
On top of the cascading selection, a "detail address" input is shown below:
广东省深圳市南山区科技园路 1 号) and the system parses out the province/city/district, fills them back into the cascading boxes, puts the remainder into the detail box, and shows a "recognized" hint after the input.Countries/regions are listed grouped by continent, with keyword search support. Selecting one records region (continent/area) and country.
Two inputs accept longitude (Lng) and latitude (Lat):
lng, lat text (e.g., 113.53, 22.38) is split and filled automatically.-180 ~ 180, latitude roughly -90 ~ 90.Click the field to open a map popup (based on Tianditu):
TIANDITU_KEY) must be configured on the server; when it is not, the map is unavailable and you can fall back to the "Lat-Lng" format for manual entry.The language of geographic data (administrative division names, country/region names, map UI text) is driven by the interface language:
Accept-Language header / lang parameter: en-location.json;en-region-location.json.Note: in the province/city/district English data, provinces and cities use English names (well-known areas use conventional translations such as
Tibet,Inner Mongolia, andShaanxito distinguish it fromShanxi), while districts/counties use pinyin. To use a specific official translation for a region, adjust the server-side data.
A geolocation field is stored as a JSON object. Key fields:
| Field | Meaning | Applicable format |
|---|---|---|
province | Province | Province/City/District series |
city | City | Province + City and above |
district | District/County | Province / City / District and above |
detail | Detailed address | Province / City / District + Detail |
region | Continent/Area | Country / Region |
country | Country/Region | Country / Region |
lng | Longitude | Lat-Lng, Map Picker |
lat | Latitude | Lat-Lng, Map Picker |
address | Generic address text | Map Picker |
Example (Province / City / District + Detail):
{
"province": "广东省",
"city": "深圳市",
"district": "南山区",
"detail": "科技园路 1 号"
}Example (Map Picker):
{
"lng": 113.53,
"lat": 22.38,
"address": "广东省深圳市南山区"
}GeoValue (per the current field format).广东省 / 深圳市 / 南山区), or keep the original JSON structure.