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

Fix st_reproject throws on encountering null value in column #548

Merged
merged 1 commit into from
Apr 26, 2021

Conversation

netanel246
Copy link
Contributor

Author: Netanel Malka netanel246@gmail.com

st_reproject throws on encountering null value in the column - #501

Added null check on ReprojectGeometry
Added test for that

Signed-off-by: Netanel Malka netanel246@gmail.com

val geom = JTSTypes.GeometryTypeInstance.deserialize(geometry.eval(input))
JTSTypes.GeometryTypeInstance.serialize(reproject(geom, src, dst))
}
null
Copy link
Member

Choose a reason for hiding this comment

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

Why do you always evaluate to null here... should this be in an else?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops. you're right.
Fix that

Author: Netanel Malka <netanel246@gmail.com>

st_reproject throws on encountering null value in column - locationtech#501

Added null check on ReprojectGeometry

Signed-off-by: Netanel Malka <netanel246@gmail.com>
@metasim metasim merged commit f5ab30b into locationtech:develop Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants