spring-projects / spring-projects/spring-data-commons

Improve handling for geospatial types [DATACMNS-481]

Open
#950 1 comment 0 reactions 1 assignee View on GitHub

@odrotbohm is already working on this.

Since Dec 30, 2020.

status: declined type: enhancement
Dominant language
Java
Stars
838
Forks
730
PR merge metrics
No merged PRs in 30d

Description

Michael Hunger opened DATACMNS-481 and commented

Support rendering the geospatial objects to Well-Known-Text out of the box and construct them from WKT. Also add a converter between String (WKT) and Shape / Point

http://en.wikipedia.org/wiki/Well-known_text

Add static factory methods for creating the geospatial objects.
Like Point.xy(x,y) or Point.latLon(lat,lon) (which is (y,x) )

Other important methods would box.toBoundingBox()
(lower left corner, upper right corner)

polygon.closedPolygon() that repeats the starting point.

All these would make working with the primitives much easier


No further details from DATACMNS-481

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.