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-427] Add RS_RasterToWorldCoord #1123

Merged
merged 7 commits into from
Nov 17, 2023

Conversation

prantogg
Copy link
Contributor

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

  • Add RS_RasterToWorldCoord

How was this patch tested?

  • Passed all new tests

Did this PR include necessary documentation updates?

@@ -106,6 +106,12 @@ public static double getWorldCoordY(GridCoverage2D raster, int colX, int rowY) t
return RasterUtils.getWorldCornerCoordinates(raster, colX, rowY).getY();
}

public static double[] getWorldCoord(GridCoverage2D raster, int colX, int rowY) throws TransformException {
Copy link
Member

Choose a reason for hiding this comment

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

The output should be a Geometry Point, not a double array.

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 removed sedona-core sedona-sql java Pull requests that update Java code labels Nov 17, 2023
@jiayuasu jiayuasu added this to the sedona-1.5.1 milestone Nov 17, 2023
@jiayuasu jiayuasu merged commit 1ed0580 into apache:master Nov 17, 2023
38 of 40 checks passed
@prantogg prantogg deleted the Add-RS_RasterToWorldCoord branch November 17, 2023 17:58
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

3 participants