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

The geos_ptrn should allow minus as well #14

Closed
dpetrov opened this issue May 23, 2017 · 2 comments
Closed

The geos_ptrn should allow minus as well #14

dpetrov opened this issue May 23, 2017 · 2 comments

Comments

@dpetrov
Copy link

dpetrov commented May 23, 2017

Using the Google Maps API, some location might have negative longitude. The geos_ptrn will fail in that case and map won't reflect the real coordinates.

I think that something like that, might do it:

geos_ptrn = re.compile(
"^SRID=([0-9]{1,});POINT(([0-9.-]{1,})\s([0-9.-]{1,}))$"
)

@marteinn
Copy link
Member

Hi @dpetrov! Thanks for the bug report, will look into it as soon as possible.

@marteinn
Copy link
Member

Solved in 49756d8

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants