Packages

class SpatialRDD[T <: Geometry] extends Serializable

The Class SpatialRDD.

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

Instance Constructors

  1. new SpatialRDD()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def CRSTransform(sourceEpsgCRSCode: String, targetEpsgCRSCode: String): Boolean

    CRS transform.

    CRS transform.

    sourceEpsgCRSCode

    the source epsg CRS code

    targetEpsgCRSCode

    the target epsg CRS code

    returns

    true, if successful

  5. def CRSTransform(sourceEpsgCRSCode: String, targetEpsgCRSCode: String, lenient: Boolean): Boolean

    CRS transform.

    CRS transform.

    sourceEpsgCRSCode

    the source epsg CRS code

    targetEpsgCRSCode

    the target epsg CRS code

    lenient

    consider the difference of the geodetic datum between the two coordinate systems, if true, never throw an exception "Bursa-Wolf Parameters Required", but not recommended for careful analysis work

    returns

    true, if successful

  6. def analyze(datasetBoundary: Envelope, approximateTotalCount: Integer): Boolean
  7. def analyze(): Boolean

    Analyze.

    Analyze.

    returns

    true, if successful

  8. def analyze(newLevel: StorageLevel): Boolean

    Analyze.

    Analyze.

    newLevel

    the new level

    returns

    true, if successful

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def buildIndex(indexType: IndexType, buildIndexOnSpatialPartitionedRDD: Boolean): Unit

    Builds the index.

    Builds the index.

    indexType

    the index type

    buildIndexOnSpatialPartitionedRDD

    the build index on spatial partitioned RDD

    Exceptions thrown

    Exception the exception

  11. def calc_partitioner(gridType: GridType, numPartitions: Int): Unit

    Spatial partitioning.

    Spatial partitioning.

    gridType

    the grid type

    numPartitions

    the target number of partitions

    Exceptions thrown

    Exception the exception

  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  13. def coalesceAndBuildRawIndex(indexType: IndexType): STRtree

    Builds the index on coalesced raw spatial RDD.

    Builds the index on coalesced raw spatial RDD.

    indexType

    the index type

    Exceptions thrown

    Exception the exception

  14. def countWithoutDuplicates(): Long

    Count without duplicates.

    Count without duplicates.

    returns

    the long

  15. def countWithoutDuplicatesSPRDD(): Long

    Count without duplicates SPRDD.

    Count without duplicates SPRDD.

    returns

    the long

  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def flipCoordinates(): Unit
  20. def getCRStransformation(): Boolean

    Gets the CR stransformation.

    Gets the CR stransformation.

    returns

    the CR stransformation

  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def getPartitioner(): SpatialPartitioner
  23. def getRawSpatialRDD(): JavaRDD[T]

    Gets the raw spatial RDD.

    Gets the raw spatial RDD.

    returns

    the raw spatial RDD

  24. def getSampleNumber(): Int
  25. def getSourceEpsgCode(): String

    Gets the source epsg code.

    Gets the source epsg code.

    returns

    the source epsg code

  26. def getTargetEpgsgCode(): String

    Gets the target epgsg code.

    Gets the target epgsg code.

    returns

    the target epgsg code

  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def saveAsGeoJSON(outputLocation: String): Unit

    Save as geo JSON.

    Save as geo JSON.

    outputLocation

    the output location

  33. def saveAsWKB(outputLocation: String): Unit

    Save as WKB.

    Save as WKB.

    outputLocation

    the output location

  34. def saveAsWKT(outputLocation: String): Unit

    Save as WKT

  35. def setNeighborSampleNumber(neighborSampleNumber: Int): Unit

    Sets the neighbor sample number.

    Sets the neighbor sample number.

    neighborSampleNumber

    the new neighbor sample number

  36. def setRawSpatialRDD(rawSpatialRDD: JavaRDD[T]): Unit

    Sets the raw spatial RDD.

    Sets the raw spatial RDD.

    rawSpatialRDD

    the new raw spatial RDD

  37. def setSampleNumber(sampleNumber: Int): Unit

    Sets the sample number.

    Sets the sample number.

    sampleNumber

    the new sample number

  38. def spatialPartitioning(partitioner: SpatialPartitioner): Unit
  39. def spatialPartitioning(gridType: GridType, numPartitions: Int): Unit
  40. def spatialPartitioning(gridType: GridType): Boolean
  41. def spatialPartitioningWithoutDuplicates(otherGrids: List[Envelope]): Boolean

    Calculate non-duplicate inducing partitioning based on a list of existing envelopes

    Calculate non-duplicate inducing partitioning based on a list of existing envelopes

    This is shorthand for spatialPartitioningWithoutDuplicates(new IndexedGridPartitioner()). Using spatialPartitioningWithoutDuplicates(gridType, numPartitions) is typically more appropriate because it is able to adapt to the content of the partition and is able to produce more consistently balanced partitions.

    Note that non-duplicating partitioners are intended for use by distributed partitioned writers and not able to be used for spatial joins.

    otherGrids

    A list of existing envelopes

    returns

    true on success

    Exceptions thrown
  42. def spatialPartitioningWithoutDuplicates(partitioner: SpatialPartitioner): Unit

    Calculate non-duplicate inducing partitioning from an existing SpatialPartitioner

    Calculate non-duplicate inducing partitioning from an existing SpatialPartitioner

    Note that non-duplicating partitioners are intended for use by distributed partitioned writers and not able to be used for spatial joins.

    partitioner

    An existing partitioner obtained from the partitioning of another SpatialRDD.

    Exceptions thrown
  43. def spatialPartitioningWithoutDuplicates(gridType: GridType, numPartitions: Int): Unit

    Calculate non-duplicate inducing partitioning

    Calculate non-duplicate inducing partitioning

    Note that non-duplicating partitioners are intended for use by distributed partitioned writers and not able to be used for spatial joins.

    gridType

    The target GridType

    numPartitions

    The target number of partitions

    Exceptions thrown
  44. def spatialPartitioningWithoutDuplicates(gridType: GridType): Boolean
  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. def toString(): String
    Definition Classes
    AnyRef → Any
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def MinimumBoundingRectangle(): RectangleRDD

    Minimum bounding rectangle.

    Minimum bounding rectangle.

    returns

    the rectangle RDD

    Annotations
    @Deprecated
    Deprecated
  2. def boundary(): Envelope

    Boundary.

    Boundary.

    returns

    the envelope

    Deprecated

    Call analyze() instead

  3. def spatialPartitioning(partitionTree: StandardQuadTree[_]): Boolean

    Deprecated

    Use spatialPartitioning(SpatialPartitioner partitioner)

  4. def spatialPartitioning(otherGrids: List[Envelope]): Boolean

    Deprecated

    Use spatialPartitioning(SpatialPartitioner partitioner)

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped