class LineStringRDD extends SpatialRDD[LineString]
The Class LineStringRDD.
- Alphabetic
- By Inheritance
- LineStringRDD
- SpatialRDD
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
LineStringRDD(sparkContext: JavaSparkContext, InputLocation: String, startOffset: Integer, endOffset: Integer, splitter: FileDataSplitter, carryInputData: Boolean, partitions: Integer)
Instantiates a new line string RDD.
Instantiates a new line string RDD.
- sparkContext
the spark context
- InputLocation
the input location
- startOffset
the start offset
- endOffset
the end offset
- splitter
the splitter
- carryInputData
the carry input data
- partitions
the partitions
-
new
LineStringRDD(sparkContext: JavaSparkContext, InputLocation: String, userSuppliedMapper: FlatMapFunction[_, _])
Instantiates a new line string RDD.
Instantiates a new line string RDD.
- sparkContext
the spark context
- InputLocation
the input location
- userSuppliedMapper
the user supplied mapper
-
new
LineStringRDD(sparkContext: JavaSparkContext, InputLocation: String, partitions: Integer, userSuppliedMapper: FlatMapFunction[_, _])
Instantiates a new line string RDD.
Instantiates a new line string RDD.
- sparkContext
the spark context
- InputLocation
the input location
- partitions
the partitions
- userSuppliedMapper
the user supplied mapper
-
new
LineStringRDD(sparkContext: JavaSparkContext, InputLocation: String, splitter: FileDataSplitter, carryInputData: Boolean)
Instantiates a new line string RDD.
Instantiates a new line string RDD.
- sparkContext
the spark context
- InputLocation
the input location
- splitter
the splitter
- carryInputData
the carry input data
-
new
LineStringRDD(sparkContext: JavaSparkContext, InputLocation: String, splitter: FileDataSplitter, carryInputData: Boolean, partitions: Integer)
Instantiates a new line string RDD.
Instantiates a new line string RDD.
- sparkContext
the spark context
- InputLocation
the input location
- splitter
the splitter
- carryInputData
the carry input data
- partitions
the partitions
-
new
LineStringRDD(sparkContext: JavaSparkContext, InputLocation: String, startOffset: Integer, endOffset: Integer, splitter: FileDataSplitter, carryInputData: Boolean)
Instantiates a new line string RDD.
Instantiates a new line string RDD.
- sparkContext
the spark context
- InputLocation
the input location
- startOffset
the start offset
- endOffset
the end offset
- splitter
the splitter
- carryInputData
the carry input data
-
new
LineStringRDD(rawSpatialRDD: JavaRDD[LineString])
Instantiates a new line string RDD.
Instantiates a new line string RDD.
- rawSpatialRDD
the raw spatial RDD
- new LineStringRDD()
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
-
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
-
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
-
def
analyze(datasetBoundary: Envelope, approximateTotalCount: Integer): Boolean
- Definition Classes
- SpatialRDD
-
def
analyze(): Boolean
Analyze.
-
def
analyze(newLevel: StorageLevel): Boolean
Analyze.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
-
def
calc_partitioner(gridType: GridType, numPartitions: Int): Unit
Spatial partitioning.
Spatial partitioning.
- gridType
the grid type
- returns
true, if successful
- Definition Classes
- SpatialRDD
- Exceptions thrown
Exception
the exception
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
-
def
countWithoutDuplicates(): Long
Count without duplicates.
-
def
countWithoutDuplicatesSPRDD(): Long
Count without duplicates SPRDD.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flipCoordinates(): Unit
- Definition Classes
- SpatialRDD
-
def
getCRStransformation(): Boolean
Gets the CR stransformation.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getPartitioner(): SpatialPartitioner
- Definition Classes
- SpatialRDD
-
def
getRawSpatialRDD(): JavaRDD[LineString]
Gets the raw spatial RDD.
-
def
getSampleNumber(): Int
- Definition Classes
- SpatialRDD
-
def
getSourceEpsgCode(): String
Gets the source epsg code.
-
def
getTargetEpgsgCode(): String
Gets the target epgsg code.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
saveAsGeoJSON(outputLocation: String): Unit
Save as geo JSON.
-
def
saveAsWKB(outputLocation: String): Unit
Save as WKB.
-
def
saveAsWKT(outputLocation: String): Unit
Save as WKT
Save as WKT
- Definition Classes
- SpatialRDD
-
def
setNeighborSampleNumber(neighborSampleNumber: Int): Unit
Sets the neighbor sample number.
Sets the neighbor sample number.
- neighborSampleNumber
the new neighbor sample number
- Definition Classes
- SpatialRDD
-
def
setRawSpatialRDD(rawSpatialRDD: JavaRDD[LineString]): Unit
Sets the raw spatial RDD.
-
def
setSampleNumber(sampleNumber: Int): Unit
Sets the sample number.
-
def
spatialPartitioning(partitioner: SpatialPartitioner): Unit
- Definition Classes
- SpatialRDD
-
def
spatialPartitioning(gridType: GridType, numPartitions: Int): Unit
- Definition Classes
- SpatialRDD
-
def
spatialPartitioning(gridType: GridType): Boolean
- Definition Classes
- SpatialRDD
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
Deprecated Value Members
-
def
MinimumBoundingRectangle(): RectangleRDD
Minimum bounding rectangle.
Minimum bounding rectangle.
- returns
the rectangle RDD
- Definition Classes
- SpatialRDD
- Annotations
- @Deprecated
- Deprecated
-
def
boundary(): Envelope
Boundary.
-
def
spatialPartitioning(partitionTree: StandardQuadTree[_]): Boolean
- Definition Classes
- SpatialRDD
- Deprecated
Use spatialPartitioning(SpatialPartitioner partitioner)
-
def
spatialPartitioning(otherGrids: List[Envelope]): Boolean
- Definition Classes
- SpatialRDD
- Deprecated
Use spatialPartitioning(SpatialPartitioner partitioner)