Skip to content

Transform coordinate between earth(WGS-84) and mars in china(GCJ-02)

Notifications You must be signed in to change notification settings

weij/eviltransform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EvilTransform

Transform coordinate between earth(WGS-84) and mars in china(GCJ-02)

  geo = EvilTransform.new_geo(31.278648,120.601099)
  EvilTransform.gcjtowgs(geo)

  # or 

  EvilTransform.new_geo(31.278648,120.601099) |> EvilTransform.gcjtowgs()

Installation

Add evil_transform to your list of dependencies in mix.exs:

def deps do
  [
    {:evil_transform, "~> 0.2.0"}
  ]
end

Documentation can be found at https://hexdocs.pm/evil_transform.

ToDo List

  • bd09ll to gcj-02
  • bd09ll to wgs-84

Algorithm Sources:

References:

About

Transform coordinate between earth(WGS-84) and mars in china(GCJ-02)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages