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