Skip to content
This repository was archived by the owner on Dec 30, 2020. It is now read-only.
This repository was archived by the owner on Dec 30, 2020. It is now read-only.

Creating SpatialRDD with other attributes #9

@ps-spark

Description

@ps-spark

Hi GeoSpark Community,

I would like to create a SpatialRDD (e.g. PointRDD) from an existing RDD[(Key, Point)] that already contains the keys, I need in the JoinQuery to identify the matching objects. Is there any way to do it?

It would be similar to the carryOtherAttributes parameter but I have an RDD not the source file.

val carryOtherAttributes = true // Carry Column 2 (hotel, gas, bar...) var objectRDD = new PointRDD(sc, pointRDDInputLocation, pointRDDOffset, pointRDDSplitter, carryOtherAttributes)

Thanks for the suggestions in advance!

Kind regards,
ps-spark

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions