Object

com.github.tsingjyujing.geo.util.convertor

GCJ02

Related Doc: package convertor

Permalink

object GCJ02 extends GeoTransformable

GCJ02是中国国家测绘局提出的坐标加密系统 其复杂的函数表达式为政府瞎JB收费提供了便利 其良好的局部线性和全局近似线性为我等屁民破解提供了便利

经过测试,所有的坐标点都可以完美的和WGS84相互转换

本类适用于WGS84坐标系和GCJ02加密坐标系的互相转换 GSJ02坐标系适用于大部分的地图,例如高德地图

Linear Supertypes
GeoTransformable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GCJ02
  2. GeoTransformable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. def inverseTransform(y: IGeoPoint, eps: Double = 0.01): IGeoPoint

    Permalink

    use iter-function method to auto reverse position

    use iter-function method to auto reverse position

    y

    transformed location

    Definition Classes
    GeoTransformable
  11. def inverseTransformFast(y: IGeoPoint): GeoPoint

    Permalink

    auto reverse transform of the position, need position has a goot ability of local-liner

    auto reverse transform of the position, need position has a goot ability of local-liner

    y

    transformed location

    Definition Classes
    GeoTransformable
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def needTransform(point: IGeoPoint): Boolean

    Permalink

    is point in china and need to transform

  15. def needTransformAccuracy(point: IGeoPoint): Boolean

    Permalink

    is point in china and need to transform

  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. val polygonOfChina: IndexedSeq[GeoPolygonWithHoles]

    Permalink
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. def transform(x: IGeoPoint): IGeoPoint

    Permalink

    Encrypt WGS84 location to other format

    Encrypt WGS84 location to other format

    x

    WGS84 position

    Definition Classes
    GCJ02GeoTransformable
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def needTransformFast(point: IGeoPoint): Boolean

    Permalink

    is point in china and need to transform

    is point in china and need to transform

    Annotations
    @deprecated
    Deprecated

    Fast but not accuracy near China like India/Vietnam/...

Inherited from GeoTransformable

Inherited from AnyRef

Inherited from Any

Ungrouped