PySparkGeoAnalysis
PySparkGeoAnalysis copied to clipboard
How can I reproduce the sixth section?
Hello, @sabman I'm trying to reproduce your sixth section 006-spatial-spark.ipynb. But I get this error:
Traceback (most recent call last):
File "/data1/alge/yugang/roadnet/map_matching/detest_track/generate_image/spark_test.py", line 78, in <module>
joinRDD = BroadcastSpatialJoin.apply(sc._jsc, dfABC._jdf, dfAB._jdf, SpatialOperator.Intersects(), 0.0)
TypeError: 'JavaPackage' object is not callable
I guess it's because I didn't download the spatial-spark_2.10-1.1.1-beta-SNAPSHOT.jar package. But I can't access your download link https://dl.dropboxusercontent.com/u/96303065/spark-workshop/spatial-spark_2.10-1.1.1-beta-SNAPSHOT.jar , which no longer working.
Can you help me? Thanks in advance.
Here you go you'll need to uncompress it. spatial-spark_2.10-1.1.1-beta-SNAPSHOT.jar.zip
You can also build it from https://github.com/sabman/SpatialSpark
@sabman Thank you very much!