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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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