eviltransform is a compact library for converting geographic coordinates between the global WGS-84 system (used by GPS) and the Chinese GCJ-02 system (used by many Chinese map services such as Google Maps China and AutoNavi). The project implements forward and inverse transformations (WGS→GCJ and GCJ→WGS) as well as a higher-precision inverse method (GCJ→WGS exact) that trades speed for sub-meter accuracy, and it includes a utility for computing geodesic distance in meters. It’s implemented (or ported) across many languages and platforms — you’ll find reference implementations in Go, C/C++/Obj-C, Java, JavaScript, Python, PHP, C#, Haskell, Rust, Swift, MATLAB and more — which makes it easy to drop into server, client, or mobile codebases. The README documents the API signatures and describes expected numeric accuracy (e.g., ~1–2 m for the standard inverse, <0.5 m for the exact inverse) and when to use each routine.

Features

  • Conversion from GCJ-02 → WGS-84
  • Conversion from WGS-84 → GCJ-02
  • “Exact” inverse conversion for higher precision
  • Distance calculation between two geographic points
  • Lightweight implementation with minimal dependencies
  • Error handling / fallback for out-of-bound coordinates

Project Samples

Project Activity

See All Activity >

Categories

GPS

Follow EvilTransform

EvilTransform Web Site

Other Useful Business Software
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of EvilTransform!

Additional Project Details

Operating Systems

Linux

Programming Language

MATLAB

Related Categories

MATLAB GPS Software

Registered

2025-09-29