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

GeoConverter negative coordinates [DATAGRAPH-497] #1060

Closed
spring-projects-issues opened this issue Jul 29, 2014 · 1 comment
Closed

GeoConverter negative coordinates [DATAGRAPH-497] #1060

spring-projects-issues opened this issue Jul 29, 2014 · 1 comment
Labels
type: bug

Comments

@spring-projects-issues
Copy link

spring-projects-issues commented Jul 29, 2014

Daniel Caldeweyh opened DATAGRAPH-497 and commented

The org.springframework.data.neo4j.repository.GeoConverter fails to parse WKT containing negative numbers for e.g. EPSG:4326 Australia:

WKT_POINT = Pattern.compile("^POINT *\\( *([\\d.]+) *([\\d.]+) *\\) *$",Pattern.CASE_INSENSITIVE)

The pattern should be updated to

"^POINT *\\( *(-?[\\d.]+) *(-?[\\d.]+) *\\) *$"

Affects: 3.2 M1 (Evans)

Backported to: 3.2.1 (Evans SR1)

@spring-projects-issues
Copy link
Author

spring-projects-issues commented Jul 30, 2014

Michael Hunger commented

Daniel could you perhaps send in a pull request?

With a test? That would be amazing.

If you do please sign the springsource CLA if you haven't.
https://support.springsource.com/spring_committer_signup

Thanks a lot.

Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug
Projects
None yet
Development

No branches or pull requests

1 participant