Object/Trait

com.github.tsingjyujing.geo.basic.operations

GeoJSONable

Related Docs: trait GeoJSONable | package operations

Permalink

object GeoJSONable

Common utils of generating GeoJSON object

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeoJSONable
  2. AnyRef
  3. 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. def createGeometryCollection(objects: TraversableOnce[JSONObject]): JSONObject

    Permalink

    Create GeometryCollection GsonObject GeometryCollection

    Create GeometryCollection GsonObject GeometryCollection

  7. def createLineString(points: TraversableOnce[IGeoPoint]): JSONObject

    Permalink

    Create LineString GeoJSON object LineString

    Create LineString GeoJSON object LineString

  8. def createMultiLineString(pointsList: TraversableOnce[TraversableOnce[IGeoPoint]]): JSONObject

    Permalink

    MultiLineString MultiLineString

    MultiLineString MultiLineString

  9. def createMultiPoint(points: TraversableOnce[IGeoPoint]): JSONObject

    Permalink

    Create MultiPoint GeoJSON object MultiPoint

    Create MultiPoint GeoJSON object MultiPoint

    points

    points

  10. def createPoint(point: IGeoPoint): JSONObject

    Permalink

    Create Point GeoJSON object Point

    Create Point GeoJSON object Point

    point

    which can get longitude and latitude

  11. def createPolygon(pointsList: TraversableOnce[Traversable[IGeoPoint]], autoClose: Boolean = true): JSONObject

    Permalink

    Standard support of polygon GeoJSON Polygon

    Standard support of polygon GeoJSON Polygon

    pointsList

    ring and hole

    autoClose

    is auto close the polygon

  12. def createRingPolygon(points: Traversable[IGeoPoint], autoClose: Boolean = true): JSONObject

    Permalink

    Simple polygon without hole Polygon

    Simple polygon without hole Polygon

    points

    ring

    autoClose

    is auto close the polygon

  13. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  21. def parseGeoJSON(json: String): GeoJSONable

    Permalink

    Generate object from json string "{\"type\":\"Point\","coordinates":[100,20]}"

  22. def parseGeoPoint(json: String): GeoPoint

    Permalink
  23. def parseGeoPolygon(json: String): GeoPolygon

    Permalink
  24. def parseGeoPolygonWithHoles(json: String): GeoPolygonWithHoles

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. 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.

Inherited from AnyRef

Inherited from Any

Ungrouped