Validators¶
- osm_field.validators.validate_latitude(value)¶
Validates that the given value does not exceed the range [-90, 90].
- Raises:
Raises a
ValidationErrorifvalueis not within the range.
- osm_field.validators.validate_longitude(value)¶
Validates that the given value does not exceed the range [-180, 180].
- Raises:
Raises a
ValidationErrorifvalueis not within the range.