You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by Peiqi Zhang <pz...@umd.edu> on 2021/06/14 17:50:03 UTC

questions about spatial join's results

Dear respected developers,

I am a new user of Sedona (Python API). Thank you very much for your work
on Sedona, it really helps a lot in my research.
But regarding the returned results of Spatial Join based on Spatial RDDs, I
actually have a question. From your programming guides and the Jupyter
notebook sandbox you provide, the spatial join result can include other
attributes of the two geometric features(other columns of the original
Dataframe, like IDs), but the result of my spatial join only contains two
columns of left geometry and right geometry (as attached picture shown). So
I would like to ask did I do anything wrong? Currently I just join
everything back after the spatial join, but I hope there could be a better
solution...

Best regards,
Peiqi Zhang

Re: questions about spatial join's results

Posted by Jia Yu <ji...@apache.org>.
Hi Peiqi,

Can you show us the code you use?

Jia

On Mon, Jun 14, 2021 at 10:53 AM Peiqi Zhang <pz...@umd.edu> wrote:

> Dear respected developers,
>
> I am a new user of Sedona (Python API). Thank you very much for your work
> on Sedona, it really helps a lot in my research.
> But regarding the returned results of Spatial Join based on Spatial RDDs,
> I actually have a question. From your programming guides and the Jupyter
> notebook sandbox you provide, the spatial join result can include other
> attributes of the two geometric features(other columns of the original
> Dataframe, like IDs), but the result of my spatial join only contains two
> columns of left geometry and right geometry (as attached picture shown). So
> I would like to ask did I do anything wrong? Currently I just join
> everything back after the spatial join, but I hope there could be a better
> solution...
>
> Best regards,
> Peiqi Zhang
>