class KmlConverter extends AnyRef
converts Kml objects into GeoJson objects
Kml object -> GeoJson object Kml Folder -> GeoJson FeatureCollection Kml Document -> GeoJson FeatureCollection Kml MultiGeometry -> GeoJson GeometryCollection Kml Placemark -> GeoJson Feature Kml Point -> GeoJson Point Kml LineString -> GeoJson LineString Kml LinearRing -> GeoJson LineString Kml Polygon -> GeoJson Polygon Kml Feature (Placemark, Document, Folder) -> GeoJson object equivalent Kml sequence of Feature -> GeoJson FeatureCollection Kml region latLonAltBox -> GeoJson bbox
ref: https://github.com/workingDog/scalakml ref: https://github.com/jroper/play-geojson
- Alphabetic
- By Inheritance
- KmlConverter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new KmlConverter()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- implicit def coordToLalLngAlt(coord: Coordinate): LatLngAlt
convert a KML Coordinate to a LatLngAlt
convert a KML Coordinate to a LatLngAlt
- coord
the input KML coordinate
- returns
a LatLngAlt object
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toGeoJson(multiGeom: MultiGeometry): Option[GeoJson[LatLngAlt]]
convert a Kml MultiGeometry into a GeoJson GeometryCollection object
convert a Kml MultiGeometry into a GeoJson GeometryCollection object
- multiGeom
the Kml MultiGeometry input
- returns
a GeoJson GeometryCollection object
- def toGeoJson(poly: Polygon): Option[GeoJson[LatLngAlt]]
convert a Kml Polygon into a GeoJson Polygon object
convert a Kml Polygon into a GeoJson Polygon object
- poly
the Kml Polygon input
- returns
a GeoJson Polygon object
- def toGeoJson(lr: LinearRing): Option[GeoJson[LatLngAlt]]
convert a Kml LinearRing into a GeoJson LineString object
convert a Kml LinearRing into a GeoJson LineString object
- lr
the Kml LinearRing input
- returns
a GeoJson LineString object
- def toGeoJson(ls: LineString): Option[GeoJson[LatLngAlt]]
convert a Kml LineString into a GeoJson LineString object
convert a Kml LineString into a GeoJson LineString object
- ls
the Kml LineString input
- returns
a GeoJson LineString object
- def toGeoJson(p: Point): Option[GeoJson[LatLngAlt]]
convert a Kml Point into a GeoJson Point object
convert a Kml Point into a GeoJson Point object
- p
the Kml Point input
- returns
a GeoJson Point object
- def toGeoJson(placemark: Placemark): Option[GeoJson[LatLngAlt]]
convert a Kml placemark into a GeoJson Feature
convert a Kml placemark into a GeoJson Feature
- placemark
the Kml placemark object
- returns
a GeoJson Feature representation of the Kml placemark
- def toGeoJson(doc: Document): Option[GeoJson[LatLngAlt]]
convert a Kml Document into a GeoJson FeatureCollection
convert a Kml Document into a GeoJson FeatureCollection
- doc
the Kml Document object
- returns
a GeoJson FeatureCollection representation of the Kml Document
- def toGeoJson(folder: Folder): Option[GeoJson[LatLngAlt]]
convert a Kml Folder to a GeoJson FeatureCollection object
convert a Kml Folder to a GeoJson FeatureCollection object
- folder
the Kml input Folder object
- returns
a GeoJson FeatureCollection representation of the Kml Folder
- def toGeoJson(feature: Feature): Option[GeoJson[LatLngAlt]]
convert a Kml Feature into an equivalent GeoJson object
convert a Kml Feature into an equivalent GeoJson object
- feature
the input Kml feature
- returns
a GeoJson object representation of the Kml Feature
- def toGeoJson(kml: Kml): Option[List[GeoJson[LatLngAlt]]]
convert a Kml object into a list of GeoJson objects
convert a Kml object into a list of GeoJson objects
- returns
a list GeoJson objects
- def toGeoJson(kmlOpt: Option[Kml]): Option[List[GeoJson[LatLngAlt]]]
convert a Kml object into a list of GeoJson objects
convert a Kml object into a list of GeoJson objects
- returns
a list GeoJson objects
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.