Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDD Geometry toString() method prints duplicated Geometry #214

jiayuasu opened this issue Apr 17, 2018 · 0 comments


Copy link

commented Apr 17, 2018

Expected behavior

Each Geometry in GeoSpark SpatialRDD should print WKT format by default and all other non-spatial attributes should be appended after the WKT string and separated by TAB.

The following command


should print POLYGON(...) A B C D

Actual behavior

SpatialRDD loaded from CSV, TSV, WKT, WKB and GeoJSON except Shapefile has the following issue:

The command


actually prints POLYGON(...) POLYGON(...) A B C D or POLYGON(...) WKBSTRING A B C D

The geometry part is printed twice.


GeoSpark version = 1.1.0 and earlier

Apache Spark version = 2.X

JRE version = 1.8

API type = Scala and Java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.