Thanks a lot for your reply !  
In "https://sedona.apache.org/api/sql/Parameter/#explanation";, I found the 
following words.  "Advanced users only!". I  don't known  what's 
that mean. Do I need to pay or donate to use this feature??

sedona.join.indexbuildside (Advanced users only!)
The side which Sedona builds spatial indices on

Default: left

Possible values: left, right






------------------ ???????? ------------------
??????: "Jia Yu"<[email protected]&gt;; 
????????: 2022??9??1??(??????) ????7:27
??????: "dev"<[email protected]&gt;; "????"<[email protected]&gt;; 
????: Re: how to set partition and index when I use spatial SQL



Hi,

1. Non-spatial attributes in SpatialRDD are stored in the userData field of 
geometries. In a spatial join query result, the non-spatial attributes are 
stored in the userData of each geometry. You can access them using a Map or 
MapPair function. 
See:&nbsp;https://sedona.apache.org/tutorial/rdd/#read-other-attributes-in-an-spatialrdd&nbsp;
 &nbsp;
2. In SpatialSQL API, the index and spatial partitioning are automatically done 
on the fly. You can set some parameters 
here:&nbsp;https://sedona.apache.org/api/sql/Parameter/#explanation


Thanks,
Jia






On Wed, Aug 31, 2022 at 7:06 AM ???? <[email protected]&gt; wrote:

Hello everybody,
 &amp;nbsp; &amp;nbsp; &amp;nbsp; I found the&amp;nbsp; RDD's result of the 
spatial&amp;nbsp; join&amp;nbsp; query did not&amp;nbsp; have&amp;nbsp; 
non-spatial&amp;nbsp; attributes .&amp;nbsp; So I use&amp;nbsp; 
spatial&amp;nbsp; SQL.&amp;nbsp; But&amp;nbsp;&amp;nbsp;
 how to&amp;nbsp; set partition and&amp;nbsp; index when I use&amp;nbsp; 
spatial&amp;nbsp; SQL? Could you&amp;nbsp; please&amp;nbsp; give any&amp;nbsp; 
suggestions?&amp;nbsp; Thank&amp;nbsp; you very&amp;nbsp; much.
 
 
 
 Or&amp;nbsp; is there some&amp;nbsp; ways&amp;nbsp; to&amp;nbsp; 
make&amp;nbsp; the&amp;nbsp; spatial&amp;nbsp; join&amp;nbsp; query&amp;nbsp; 
has&amp;nbsp; non-spatial&amp;nbsp; attributes?

Reply via email to