Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ST_Centroid: Centroid not Envelope Center#153

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
randallwhitman merged 3 commits intomasterfromcentroid
May 18, 2018
Merged

Conversation

@randallwhitman
Copy link
Contributor

@randallwhitmanrandallwhitman commentedMay 17, 2018
edited
Loading

Centroid method is recently available in Geometry API.
fyi@stolstov@mbasmanova
#150

select ST_AsJson(ST_GeometryN(ST_GeomFromText('multilinestring ((2 4, 10 10), (20 20, 7 8))'),2))from onerow;
select ST_AsText(ST_GeometryN(ST_GeomFromText('multipolygon (((3 3, 4 6, 5 3, 3 3)),((8 24, 1 28, 9 25, 8 24)), ((13 33, 7 36, 1 40, 10 43, 13 33)))'),1))from onerow;
select ST_AsText(ST_InteriorRingN(ST_Polygon('polygon ((0 0, 8 0, 0 8, 0 0), (1 1, 1 5, 5 1, 1 1))'),1))from onerow;
select ST_AsJson(ST_Polygon(1.5,2.5,3.0,2.2,2.2,1.1));
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

from <table> is no longer necessary as of Hive-0.12

@randallwhitman
Copy link
ContributorAuthor

After updating thehiverc file to point to the updated versions ofboth Geometry and Spatial Framework, I was able to test ST-Centroid on both Hive and SparkSQL.

@randallwhitmanrandallwhitman merged commit93cb31c intomasterMay 18, 2018
@randallwhitmanrandallwhitman added this to thev2.1 milestoneJun 29, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@climbageclimbageAwaiting requested review from climbage

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v2.1

Development

Successfully merging this pull request may close these issues.

2 participants

@randallwhitman

[8]ページ先頭

©2009-2025 Movatter.jp