------------------------------------
Jia Yu,
Ph.D. Student in Computer Science
Reach me via Jia Yu's Homepage | GitHub Repositories
--
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 post to this group, send email to geospark-dis...@googlegroups.com.
Visit this group at https://groups.google.com/group/geospark-discussion-board.
To view this discussion on the web visit https://groups.google.com/d/msgid/geospark-discussion-board/6d0bea7e-83f8-4ba9-868f-e5bb9dd2ba55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
2019-02-19T16:38:37.212
WARN cara core Not enough space to cache rdd_24_0 in memory! (computed 2.8 GB so far) (org.apache.spark.storage.memory.MemoryStore:66)
spark.kryoserializer.buffer.max
) but it only supports values up to 2048mb. The street network is not especially large, it contains 1.3M LineStrings (only one state of Germany). The shape file takes only 0.9G but the LineStringRDD exceeds obviously the 2G limit :( I had to reduce the street network to 1M objects to be able to load the RDD into memory. Indeed it's fast after that with indexing. It's a pitty that I cannot use more than 2G buffer size, even if I have 32GB memory in my cluster.------------------------------------
Jia Yu,
Ph.D. Student in Computer Science
Reach me via Jia Yu's Homepage | GitHub Repositories
Anyway, I have also tried another approach. I have created a PointRDD from the GPS coordinates and used spatial JoinQuery to get the intersections. Unfortunately it did not return a single element. It is because none of the objects (Point, LineString) are closed?
--
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 post to this group, send email to geospark-dis...@googlegroups.com.
Visit this group at https://groups.google.com/group/geospark-discussion-board.
To view this discussion on the web visit https://groups.google.com/d/msgid/geospark-discussion-board/ff8e1358-e7b4-466a-a24e-74620968ed45%40googlegroups.com.