awesome-repositories.comCategoriesBlog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
hujiulong avatar

hujiulong/gcoord

0
View on GitHub↗
3,251 stars·402 forks·TypeScript·mit·9 views

Gcoord

gcoord is a coordinate conversion library that transforms geographic coordinates between China's three major map coordinate systems: WGS-84, GCJ-02, and BD-09. It handles the offset corrections required by national encryption policies, converting GPS or API-derived coordinates to align with the projections used by Chinese map providers like Baidu, Gaode, and Google China.

The library provides direct conversions between all three systems, including WGS-84 to GCJ-02, WGS-84 to BD-09, GCJ-02 to BD-09, and their reverse transformations. It processes individual coordinate pairs, batches of coordinates, and entire GeoJSON objects, applying the same conversion to every point while preserving the original structure and properties.

Built as a standalone module with no external dependencies, gcoord uses double-precision arithmetic and precomputed offset tables to maintain sub-meter accuracy across transformations. The library is written in TypeScript and implements its conversion logic through static function dispatch, routing each request to the correct algorithm based on the source and target system identifiers.

Features

  • Map Coordinate Converters - Converts geographic coordinates between WGS-84, GCJ-02, and BD-09 systems to correct offsets from national encryption policies.
  • Geographic Coordinate Converters - Provides the core functionality of converting GPS coordinates between WGS-84, GCJ-02, and BD-09 map systems.
  • Ellipsoid-Based Transformations - Provides the core ellipsoid-based coordinate transformation logic between China's three major map systems.
  • Map Projection Offset Correctors - Adjusts GPS or API-derived coordinates to align with the specific projection used by Chinese map providers.
  • BD-09 Coordinate Transformers - Converts coordinates to and from Baidu's BD-09 system for use with Baidu Maps.
  • Coordinate Correctors - Adjusts GPS or API-derived coordinates to align with the specific projection used by Chinese map providers.
  • BD-09 to GCJ-02 Converters - Converts geographic coordinates from the BD-09 system back to the GCJ-02 system.
  • GCJ-02 to BD-09 Converters - Converts geographic coordinates from the GCJ-02 system to the BD-09 system used by Baidu Maps.
  • Geographic Coordinate Conversion Libraries - Converts geographic coordinates between WGS-84, GCJ-02, and BD-09 map coordinate systems with a single function call.
  • WGS-84 to BD-09 Converters - Converts geographic coordinates directly from the WGS-84 standard to the BD-09 system used by Baidu Maps.
  • WGS-84 to GCJ-02 Converters - Converts geographic coordinates from the WGS-84 standard to the GCJ-02 system used by Chinese map services.
  • Map Coordinate Offset Correctors - Adjusts coordinates from GPS or APIs to align with the projection used by specific Chinese map providers.
  • GeoJSON Coordinate Converters - Applies coordinate system conversion to every point in a GeoJSON object while preserving its structure.
  • Coordinate Transformers - Applies coordinate system conversion to every point in a GeoJSON object while preserving its structure.
  • GeoJSON Traversers - Recursively traverses GeoJSON objects to apply coordinate conversion to every point while preserving structure.
  • Batch - Converts an array of longitude-latitude pairs between map coordinate systems in a single operation.
  • JavaScript Geospatial Libraries - Converts between common geographic coordinate systems.

Star history

Star history chart for hujiulong/gcoordStar history chart for hujiulong/gcoord

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Gcoord

Similar open-source projects, ranked by how many features they share with Gcoord.
  • wandergis/coordtransformwandergis avatar

    wandergis/coordtransform

    4,633View on GitHub↗

    coordtransform is a coordinate transformation library and map projection utility used to convert geographic coordinates between WGS84, GCJ02, and BD09 systems. It functions as a geographic coordinate converter that transforms longitude and latitude values to align map data across different providers. The library specifically handles the shifts and offsets required for Chinese map integration, ensuring that spatial data aligns correctly when moving coordinates between these international and regional mapping standards. Its capabilities cover GIS data alignment and location data normalization,

    JavaScript
    View on GitHub↗4,633
  • cesiumgs/cesiumCesiumGS avatar

    CesiumGS/cesium

    15,412View on GitHub↗

    Cesium is a JavaScript library designed for rendering high-precision 3D globes and 2D maps within web browsers. It functions as a visualization engine that leverages hardware-accelerated graphics to display complex geographic data, terrain, and imagery. The library distinguishes itself through a modular architecture that supports the streaming of massive geographic datasets. By employing tiled data delivery and hierarchical level-of-detail optimization, it maintains performance while navigating large-scale environments. It also includes a time-dynamic state management system, which synchroniz

    JavaScript
    View on GitHub↗15,412
  • andrewhartar/arkit-corelocationAndrewHartAR avatar

    AndrewHartAR/ARKit-CoreLocation

    5,525View on GitHub↗

    ARKit-CoreLocation is a framework and library for synchronizing augmented reality world tracking with GPS coordinates. It enables the placement of virtual objects at precise real-world locations by anchoring digital content to latitude and longitude coordinates. The project provides tools for aligning augmented reality scene headings with geographic north and rendering directional navigation paths on real-world surfaces. It includes capabilities for drawing geographic routing lines and creating world-scale annotations that scale based on their distance from the user. The system manages geosp

    Swiftarkitaugmented-realitycorelocation
    View on GitHub↗5,525
  • maptalks/maptalks.jsmaptalks avatar

    maptalks/maptalks.js

    4,519View on GitHub↗

    maptalks.js is a JavaScript map rendering library and web map interaction framework used to render interactive 2D and 3D geographic data on a web canvas. It functions as a 3D geospatial engine supporting 3DTiles and GLTF formats, a GeoJSON visualization tool, and a spatial analysis library. The project distinguishes itself through high-performance rendering and dynamic geospatial animation, including the ability to simulate traffic flow and execute smooth visual transitions for map elements. It provides comprehensive tools for interactive geometry editing, allowing users to draw and modify ve

    HTML
    View on GitHub↗4,519
See all 30 alternatives to Gcoord→

Frequently asked questions

What does hujiulong/gcoord do?

gcoord is a coordinate conversion library that transforms geographic coordinates between China's three major map coordinate systems: WGS-84, GCJ-02, and BD-09. It handles the offset corrections required by national encryption policies, converting GPS or API-derived coordinates to align with the projections used by Chinese map providers like Baidu, Gaode, and Google China.

What are the main features of hujiulong/gcoord?

The main features of hujiulong/gcoord are: Map Coordinate Converters, Geographic Coordinate Converters, Ellipsoid-Based Transformations, Map Projection Offset Correctors, BD-09 Coordinate Transformers, Coordinate Correctors, BD-09 to GCJ-02 Converters, GCJ-02 to BD-09 Converters.

What are some open-source alternatives to hujiulong/gcoord?

Open-source alternatives to hujiulong/gcoord include: wandergis/coordtransform — coordtransform is a coordinate transformation library and map projection utility used to convert geographic… cesiumgs/cesium — Cesium is a JavaScript library designed for rendering high-precision 3D globes and 2D maps within web browsers. It… andrewhartar/arkit-corelocation — ARKit-CoreLocation is a framework and library for synchronizing augmented reality world tracking with GPS coordinates.… maptalks/maptalks.js — maptalks.js is a JavaScript map rendering library and web map interaction framework used to render interactive 2D and… turfjs/turf — Turf is a JavaScript and TypeScript geospatial analysis library and toolkit used for performing spatial analysis and… azavea/tilegarden — Serverless raster and vector map tile generation using Mapnik and AWS Lambda.