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

Geo Type Mapping: Add validation options to validate lat and lon values #1252

Closed
kimchy opened this issue Aug 17, 2011 · 0 comments
Closed

Comments

@kimchy
Copy link
Member

kimchy commented Aug 17, 2011

Allow to set in the mapping:

  • validate_lat: Validates that latitude is between -90 and 90.
  • validate_lon: Validates that longitude is between -180 and 180.
  • validate: Validates both lat and lon values.

By default, no validation is done for backward comp.

@kimchy kimchy closed this as completed in 8a7b205 Aug 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant