# hujiulong/gcoord

地理坐标系转换工具

Repository: https://github.com/hujiulong/gcoord
Canonical: https://ross.abutalabs.com/products/gcoord
Language: TypeScript
License: MIT
License Family: permissive
Topics: map, wgs84, gcj-02, bd-09, geojson, javascript
Last push: 2026-06-23T07:57:54+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 89, release rhythm 8, longevity 100
- inputs: {"age_days": 3135, "days_push": 71, "days_rel": 596, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3316, forks 401 (observed 2026-08-28T04:07:56.155262+00:00)

## What it is
Gcoord is a lightweight, dependency-free JavaScript library for converting coordinates between common Chinese web map coordinate systems such as WGS-84, GCJ-02, and BD-09. It supports coordinate arrays and GeoJSON objects and runs in Node.js, browsers, and React Native.

## Use cases
- convert GPS coordinates to Baidu BD-09 for map display
- transform GCJ-02 coordinates from AMap back to WGS-84
- normalize GeoJSON coordinates across map providers
- display phone GPS locations on Chinese map services
- convert coordinates between Baidu and AMap systems

## When to choose
- you need to align coordinates from GPS, Baidu, AMap, or Google China maps
- you want a tiny (~3 KB gzip) dependency-free conversion library
- you work with GeoJSON data in Chinese coordinate systems

## When to avoid
- you need general-purpose geodesy or projections beyond WGS-84/GCJ-02/BD-09
- you require full GIS transformations like UTM or datum shifts
- you need server-side batch geocoding rather than pure math conversion

## Facets
- artifact type: library
- maturity: stable
- function: geospatial, sdk, developer-tools
- domain: web-development
- platform: browser, cross-platform
- tags: coordinate-conversion, wgs84, gcj-02, bd-09, geojson, china-maps, typescript, maps, geospatial, nodejs

## Member repositories
- hujiulong/gcoord (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:56.155262+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:42:04.394147+00:00, confidence not recorded.
  - readme: https://github.com/hujiulong/gcoord (fetched 2026-08-28T04:07:56.155262+00:00, sha 10e284e27260)
  - registry_npm: https://registry.npmjs.org/gcoord (fetched 2026-08-29T09:35:04.430748+00:00, sha 06a24f2cfd13)
- Data as of 2026-08-30T08:39:29.467469+00:00.
