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-334] Add RS_ScaleX and RS_ScaleY #932

Merged
merged 7 commits into from
Jul 28, 2023

Conversation

iGN5117
Copy link
Contributor

@iGN5117 iGN5117 commented Jul 28, 2023

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

  • Add RS_ScaleX and RS_ScaleY

How was this patch tested?

  • Wrote new tests

Did this PR include necessary documentation updates?

# Conflicts:
#	common/src/main/java/org/apache/sedona/common/raster/RasterAccessors.java
#	docs/api/sql/Raster-operators.md
#	sql/common/src/main/scala/org/apache/sedona/sql/UDF/Catalog.scala
#	sql/common/src/main/scala/org/apache/spark/sql/sedona_sql/expressions/raster/RasterAccessors.scala
@@ -18,6 +18,52 @@ Output:
512
```

### RS_ScaleX

Introduction: Returns the pixel width of the raster in map units.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Call this CRS unit (Coordinate Reference System)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@jiayuasu jiayuasu merged commit ab5f110 into apache:master Jul 28, 2023
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.

None yet

2 participants