Re: Spatial Join Query

31 views
Skip to first unread message
Message has been deleted

Jia Yu

unread,
Oct 15, 2020, 1:12:28 AM10/15/20
to Hori, GeoSpark Discussion Board
Hello,

For RDD API, the format is as follows: JoinQuery.SpatialJoinQuery(objectRDD, queryWindowRDD, usingIndex, considerBoundaryIntersection)

Left side is covered by the right side

You need to make sure you choose to consider boundary intersection.

On Tue, Oct 13, 2020 at 11:35 PM Hori <hr.9.ke...@gmail.com> wrote:
The following explanation is available on the Apache Sedona site and I would like to confirm that I understand it correctly.
"For each geometry in A, finds the geometries (from B) covered/intersected by it. A and B can be any geometry type and are not necessary to have the same geometry type."

For example, I will run a Spatial Join Query with the following polygon and point RDD.
JoinQuery.SpatialJoinQuery(PolygonRDD, PointRDD)
Is this correct in the sense that it returns a pair of points in the each polygon range?

Also, if two RDDs are both points, will a pair of points with the same coordinates be returned, since they only intersect at the same coordinates?

--
You received this message because you are subscribed to the Google Groups "GeoSpark Discussion Board" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geospark-discussio...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geospark-discussion-board/169d3325-f6e5-44a2-ab14-3914cf83f382n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages