Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SEDONA-671] Implement Spider spatial data generator #1680

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

Kontinuation
Copy link
Member

@Kontinuation Kontinuation commented Nov 9, 2024

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

This PR adds a new data source named "spider" for generating random spatial data.

Puloma Katiyar, Tin Vu, Sara Migliorini, Alberto Belussi, Ahmed Eldawy. "SpiderWeb: A Spatial Data Generator on the Web", ACM SIGSPATIAL 2020, Seattle, WA

Users can generate random spatial data using:

df = spark.read.format("spider") \
  .option("N", "10000") \
  .option("distribution", "gaussian") \
  .option("geometryType", "box") \
  .load()

This data source is inspired by https://bitbucket.org/bdlabucr/beast/src/master/doc/spatial-data-generator.md

How was this patch tested?

Add new Scala and Python tests

Did this PR include necessary documentation updates?

  • Yes, I have updated the documentation.

@jiayuasu jiayuasu added this to the sedona-1.7.0 milestone Nov 12, 2024
@jiayuasu jiayuasu merged commit ae3b398 into apache:master Nov 12, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants