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

Ensure lat/lng are at least 2 decimal places #373

Closed
wants to merge 4 commits into from
Closed

Conversation

Lathrisk
Copy link

@Lathrisk Lathrisk commented Mar 2, 2021

#369

This work adds precision tests to explicitly test geocoordinates to ensure that they are at least 2 decimal places.
It will result in a FAILURE and PRECISION_ERROR if they are not.

The documentation states 2 decimal places, this uses the value noted in the documentation for consistency over the value described in the issue.

Noting: #36

It might be that the model itself needs updating to match the documentation or new requirements.

i.e. GeoCoordindate model

@Lathrisk Lathrisk requested a review from thill-odi March 2, 2021 16:31
@Lathrisk Lathrisk self-assigned this Mar 2, 2021
@Lathrisk Lathrisk marked this pull request as draft March 2, 2021 16:47
@Lathrisk Lathrisk closed this Mar 3, 2021
@nickevansuk nickevansuk deleted the 369/geo-floats branch March 4, 2021 20:21
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

Successfully merging this pull request may close these issues.

1 participant