Administrative Region Download
Overview
Downloads boundary data for a specified administrative region, such as a province, city, or county, from the Tianditu administrative region service and outputs it as a vector file.
The output data contains polygon features with attributes such as administrative code, name, level, and center point longitude and latitude. The spatial reference is EPSG:4490 (CGCS2000).
Data is sourced from the Tianditu administrative region service API. Make sure the data is legal and valid for your intended use.
Use Cases
- Quickly obtain administrative boundary basemaps: Use boundaries for project-area display, statistical-unit division, and map production.
- Use as clip or summary boundaries: Clip rasters or vectors with administrative boundaries, or use them as zone inputs for zonal statistics.
- Join business data by standard codes: Use administrative code fields to join and analyze business tables.
Parameters
| Parameter | Description | Notes |
|---|---|---|
| Administrative region | Selects the administrative region to download. | Supports hierarchical selection by province, city, and county. If only a province or city is selected, the boundary for that level is downloaded. |
| Output vector file | Output vector file path. | The output format is usually determined by the file extension, such as .shp, .gpv, or .pgv. Choose a platform-supported format for later processing. |
Output Fields
The download result usually contains the following fields. Actual output may vary.
| Field | Meaning |
|---|---|
| gb | Administrative division code |
| pgb | Parent administrative division code |
| name | Administrative region name |
| level | Administrative region level |
| center_lng | Center point longitude |
| center_lat | Center point latitude |
| geometry | Administrative boundary polygon |
Steps
- Start the tool: Open Geoprocessing Toolbox > Data Management Tools > Data Download, then start Administrative Region Download.
- Select an administrative region: In Administrative region, select a province, city, or county.
- Configure the output: Set the save location and file name for Output vector file.
- Run the task: Click Run and view progress in Task List. After completion, load the output vector and verify the boundary.
Notes
- Only the selected region boundary is downloaded: The tool obtains the boundary of one selected administrative region. It does not include a collection of lower-level administrative boundaries by default.
- Online service dependency: The Tianditu service must be accessible. Network instability or service errors may cause the download to fail.
- Coordinate system: The output uses EPSG:4490 (CGCS2000) geographic coordinates. Reproject it before overlay analysis with projected datasets if needed.