Packages

class RectangleRDD extends SpatialRDD[Polygon]

The Class RectangleRDD.

Annotations
@Deprecated
Deprecated
Linear Supertypes
SpatialRDD[Polygon], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RectangleRDD
  2. SpatialRDD
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RectangleRDD(sparkContext: JavaSparkContext, InputLocation: String, userSuppliedMapper: FlatMapFunction[_, _])

    Instantiates a new rectangle RDD.

    Instantiates a new rectangle RDD.

    sparkContext

    the spark context

    InputLocation

    the input location

    userSuppliedMapper

    the user supplied mapper

  2. new RectangleRDD(sparkContext: JavaSparkContext, InputLocation: String, partitions: Integer, userSuppliedMapper: FlatMapFunction[_, _])

    Instantiates a new rectangle RDD.

    Instantiates a new rectangle RDD.

    sparkContext

    the spark context

    InputLocation

    the input location

    partitions

    the partitions

    userSuppliedMapper

    the user supplied mapper

  3. new RectangleRDD(sparkContext: JavaSparkContext, InputLocation: String, splitter: FileDataSplitter, carryInputData: Boolean)

    Instantiates a new rectangle RDD.

    Instantiates a new rectangle RDD.

    sparkContext

    the spark context

    InputLocation

    the input location

    splitter

    the splitter

    carryInputData

    the carry input data

  4. new RectangleRDD(sparkContext: JavaSparkContext, InputLocation: String, splitter: FileDataSplitter, carryInputData: Boolean, partitions: Integer)

    Instantiates a new rectangle RDD.

    Instantiates a new rectangle RDD.

    sparkContext

    the spark context

    InputLocation

    the input location

    splitter

    the splitter

    carryInputData

    the carry input data

    partitions

    the partitions

  5. new RectangleRDD(sparkContext: JavaSparkContext, InputLocation: String, Offset: Integer, splitter: FileDataSplitter, carryInputData: Boolean)

    Instantiates a new rectangle RDD.

    Instantiates a new rectangle RDD.

    sparkContext

    the spark context

    InputLocation

    the input location

    Offset

    the offset

    splitter

    the splitter

    carryInputData

    the carry input data

  6. new RectangleRDD(sparkContext: JavaSparkContext, InputLocation: String, Offset: Integer, splitter: FileDataSplitter, carryInputData: Boolean, partitions: Integer)

    Instantiates a new rectangle RDD.

    Instantiates a new rectangle RDD.

    sparkContext

    the spark context

    InputLocation

    the input location

    Offset

    the offset

    splitter

    the splitter

    carryInputData

    the carry input data

    partitions

    the partitions

  7. new RectangleRDD(rawSpatialRDD: JavaRDD[Polygon])

    Instantiates a new rectangle RDD.

    Instantiates a new rectangle RDD.

    rawSpatialRDD

    the raw spatial RDD

  8. new RectangleRDD()

Value Members

  1. 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

    Definition Classes
    SpatialRDD
  2. 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

    Definition Classes
    SpatialRDD
  3. def analyze(datasetBoundary: Envelope, approximateTotalCount: Integer): Boolean
    Definition Classes
    SpatialRDD
  4. def analyze(): Boolean

    Analyze.

    Analyze.

    returns

    true, if successful

    Definition Classes
    SpatialRDD
  5. def analyze(newLevel: StorageLevel): Boolean

    Analyze.

    Analyze.

    newLevel

    the new level

    returns

    true, if successful

    Definition Classes
    SpatialRDD
  6. 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

    Definition Classes
    SpatialRDD
    Exceptions thrown

    Exception the exception

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

    Spatial partitioning.

    Spatial partitioning.

    gridType

    the grid type

    numPartitions

    the target number of partitions

    Definition Classes
    SpatialRDD
    Exceptions thrown

    Exception the exception

  8. 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

    Definition Classes
    SpatialRDD
    Exceptions thrown

    Exception the exception

  9. def countWithoutDuplicates(): Long

    Count without duplicates.

    Count without duplicates.

    returns

    the long

    Definition Classes
    SpatialRDD
  10. def countWithoutDuplicatesSPRDD(): Long

    Count without duplicates SPRDD.

    Count without duplicates SPRDD.

    returns

    the long

    Definition Classes
    SpatialRDD
  11. def flipCoordinates(): Unit
    Definition Classes
    SpatialRDD
  12. def getCRStransformation(): Boolean

    Gets the CR stransformation.

    Gets the CR stransformation.

    returns

    the CR stransformation

    Definition Classes
    SpatialRDD
  13. def getPartitioner(): SpatialPartitioner
    Definition Classes
    SpatialRDD
  14. def getRawSpatialRDD(): JavaRDD[Polygon]

    Gets the raw spatial RDD.

    Gets the raw spatial RDD.

    returns

    the raw spatial RDD

    Definition Classes
    SpatialRDD
  15. def getSampleNumber(): Int
    Definition Classes
    SpatialRDD
  16. def getSourceEpsgCode(): String

    Gets the source epsg code.

    Gets the source epsg code.

    returns

    the source epsg code

    Definition Classes
    SpatialRDD
  17. def getTargetEpgsgCode(): String

    Gets the target epgsg code.

    Gets the target epgsg code.

    returns

    the target epgsg code

    Definition Classes
    SpatialRDD
  18. def saveAsGeoJSON(outputLocation: String): Unit

    Save as geo JSON.

    Save as geo JSON.

    outputLocation

    the output location

    Definition Classes
    SpatialRDD
  19. def saveAsWKB(outputLocation: String): Unit

    Save as WKB.

    Save as WKB.

    outputLocation

    the output location

    Definition Classes
    SpatialRDD
  20. def saveAsWKT(outputLocation: String): Unit

    Save as WKT

    Save as WKT

    Definition Classes
    SpatialRDD
  21. def setNeighborSampleNumber(neighborSampleNumber: Int): Unit

    Sets the neighbor sample number.

    Sets the neighbor sample number.

    neighborSampleNumber

    the new neighbor sample number

    Definition Classes
    SpatialRDD
  22. def setRawSpatialRDD(rawSpatialRDD: JavaRDD[Polygon]): Unit

    Sets the raw spatial RDD.

    Sets the raw spatial RDD.

    rawSpatialRDD

    the new raw spatial RDD

    Definition Classes
    SpatialRDD
  23. def setSampleNumber(sampleNumber: Int): Unit

    Sets the sample number.

    Sets the sample number.

    sampleNumber

    the new sample number

    Definition Classes
    SpatialRDD
  24. def spatialPartitioning(partitioner: SpatialPartitioner): Unit
    Definition Classes
    SpatialRDD
  25. def spatialPartitioning(gridType: GridType, numPartitions: Int): Unit
    Definition Classes
    SpatialRDD
  26. def spatialPartitioning(gridType: GridType): Boolean
    Definition Classes
    SpatialRDD
  27. 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

    Definition Classes
    SpatialRDD
    Exceptions thrown
  28. 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.

    Definition Classes
    SpatialRDD
    Exceptions thrown
  29. 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

    Definition Classes
    SpatialRDD
    Exceptions thrown
  30. def spatialPartitioningWithoutDuplicates(gridType: GridType): Boolean
    Definition Classes
    SpatialRDD

Deprecated Value Members

  1. def MinimumBoundingRectangle(): RectangleRDD

    Minimum bounding rectangle.

    Minimum bounding rectangle.

    returns

    the rectangle RDD

    Definition Classes
    SpatialRDD
    Annotations
    @Deprecated
    Deprecated
  2. def boundary(): Envelope

    Boundary.

    Boundary.

    returns

    the envelope

    Definition Classes
    SpatialRDD
    Deprecated

    Call analyze() instead

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

    Definition Classes
    SpatialRDD
    Deprecated

    Use spatialPartitioning(SpatialPartitioner partitioner)

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

    Definition Classes
    SpatialRDD
    Deprecated

    Use spatialPartitioning(SpatialPartitioner partitioner)