-
Notifications
You must be signed in to change notification settings - Fork 169
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
WKTWriter empty point/geometrycollection WKT serialization #162
Labels
Comments
Thanks for reporting. PRs welcome. Should be easy. |
abrokenjester
added a commit
to abrokenjester/spatial4j
that referenced
this issue
Mar 9, 2020
Signed-off-by: Jeen Broekstra <[email protected]>
abrokenjester
added a commit
to abrokenjester/spatial4j
that referenced
this issue
Mar 9, 2020
Signed-off-by: Jeen Broekstra <[email protected]>
abrokenjester
added a commit
to abrokenjester/spatial4j
that referenced
this issue
Mar 9, 2020
Signed-off-by: Jeen Broekstra <[email protected]>
abrokenjester
added a commit
to abrokenjester/spatial4j
that referenced
this issue
Mar 12, 2020
Signed-off-by: Jeen Broekstra <[email protected]>
dsmiley
added a commit
to abrokenjester/spatial4j
that referenced
this issue
Mar 16, 2020
dsmiley
added a commit
that referenced
this issue
Mar 20, 2020
* GH-162 handle empty point / shape collection in WKT Signed-off-by: Jeen Broekstra <[email protected]> * Fix GeoJson too. Test round-trip. Co-authored-by: David Smiley <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When putting an empty Point through
WKTWriter.toString
, it produces a string of the formPOINT ()
orPOINT(NaN, NaN)
instead ofPOINT EMPTY
. Similarly for an emptyShapeCollection
, we get the serializationGEOMETRYCOLLECTION ()
instead ofGEOMETRYCOLLECTION EMPTY
.The text was updated successfully, but these errors were encountered: