|[geomesa-users] Geomesa Spark : convert Row to SimpleFeature|
I would like to convert a Spark Dataframe to a Feature Collection so I can use Geomesa processes. In the Geomesa Spark SQL doc I found that when you write a dataframe to geomesa using
This will automatically convert the data frame’s underlying RDD[Row] into an RDD[SimpleFeature] and write to the data store in parallel.
So I guess that a converter from Row to SimpleFeature exists somewhere in the Geomesa code and maybe I could re-use it. Could you please tell me a direction to look at (class or package) to find this converter?
This message and any attachments (the "message") are intended solely for the addressee(s). It contains confidential information, that may be privileged. If you receive this message in error, please notify the sender immediately and delete the message. Any use of the message in violation of its purpose, any dissemination or disclosure, either wholly or partially is strictly prohibited, unless it has been explicitly authorized by the sender. As its integrity cannot be secured on the internet, Atos and its subsidiaries decline any liability for the content of this message. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.