In this seminar, we will show how to use spark(pyspark) and sedona(spark) to process geospatial big data. We will also present geoparquet, a new geospatial data format.
https://sedona.apache.org/latest/
- Data processing with
apache spark - Spatial data processing with
apache sedona - Working with Parquet and GeoParquet
CASD has organized a webinar on apache spark, if you want to learn more about spark, you can check this page
- Overview and use cases
- Spark architecture(e.g.driver, executors, cluster manager)
- Comparison with Hadoop MapReduce
- Lazy evaluation
- Actions vs. Transformations
- Installing Spark (standalone mode)
- Basic SparkSession setup
- First spark application
- Reading CSV, Parquet
- Cleaning data(e.g. handling missing values, trimming and normalizing strings, removing duplicates)
- Data Aggregation and Joins
- User-defined functions (UDFs)
- writing data in parquet(partitioning and performance tuning basics)
- Overview and use cases
- Sedona architecture and integration with Spark
- Installing Sedona with JAR packages
- Registering Sedona functions and types
- Reading geospatial data(e.g. )
- Creating geometry column by using
ST_Point, ST_GeomFromWKT, ST_GeomFromText, etc. - Use spatial predicates (e.g.
ST_Contains, ST_Within, ST_Intersects) - Use spatial joins and indexing(e.g. Spatial join with bounding boxes and geometries, building and using spatial indexes (
R-Tree, Quad-Tree)) - Spatial Aggregation and Distance(e.g. calculating distances with
ST_Distance, aggregating geometries by group (e.g., ST_Envelope_Aggr))
- What is GeoParquet?
- Advantages over
Shapefile, GeoJSON, CSV+WKT - GeoParquet spec overview: geometry_columns, crs, encoding, bbox, orientation
- Reading and Inspecting GeoParquet
- Writing Spatial Data with geoparquet with CRS awareness