xiangyuecn/areacity-jsspider-statsgov

省市区县乡镇三级或四级城市数据,带拼音标注、坐标、行政区域边界范围;2026年04月03日最新采集,提供csv格式文件,支持在线转成多级联动js代码、通用json格式,提供软件转成shp、geojson、sql、导入数据库;带浏览器里面运行的js采集源码,综合了中华人民共和国民政部、中国•国家地名信息库、统计局、...

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 40 minutes ago
Added to GitGenius on September 9th, 2026
Created on November 28th, 2018
Open Issues & Pull Requests: 33 (+0)
GitHub issues: Enabled
Number of forks: 1,019
Total Stargazers: 6,876 (+0)
Total Subscribers: 131 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.4 hours
Mean response time: 200.3 days
90th percentile: 1204.9 days
Tracked items: 8

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 7
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 963 days
Stale 30+ days: 7
Stale 90+ days: 4

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

AreaCity-JsSpider-StatsGov is a Chinese administrative division data aggregator that collects and enriches province, city, district, and township-level geographic information with pinyin romanization, coordinates, and boundary polygons.

The tool solves the problem of obtaining comprehensive, up-to-date Chinese administrative boundary data from fragmented official sources. It aggregates data from the Ministry of Civil Affairs, the National Gazetteer, the Statistics Bureau, and mapping services including Amap and Tencent Maps. The project includes browser-based JavaScript scraping code that collects this information and provides it in multiple formats: CSV files for direct use, JSON for programmatic access, and conversion tools that transform the data into SQL, Shapefile, and GeoJSON formats suitable for database import or GIS applications.

Developers should adopt this tool if they need hierarchical Chinese administrative divisions for applications like address selection dropdowns, geographic visualization, or location-based services. The project suits mapping applications, e-commerce platforms requiring address hierarchies, and any system needing to query which city or district contains a given coordinate. The tool provides both three-level data (province-city-district) and four-level data (adding townships), with an online preview interface for testing before integration. A companion high-performance query tool is available for rapid coordinate-to-location lookups.

The project maintains active data synchronization with official sources, incorporating updates from the National Gazetteer and mapping service APIs. Development includes ongoing administrative boundary changes, such as recent municipal reorganizations in Chongqing. The tool offers multiple access routes and mirrors to handle network constraints in different regions. Supplementary tools are provided for format conversion and geographic coordinate system transformation, extending the core dataset's utility across different technology stacks and use cases.