Fields and data types that handle latitude and longitude values.
- todo
This section is in progress
A latitude value. A latitude is a value between -90.0 and 90.0.
A longitude value. A longitude is a value between -180.0 and 180.0.
Combination latitude and longitude value.
A point in cartesian space. This type can be either 2D (on a plain) or 3D (includes a z-axis).
class LatitudeField([min_value=None, max_value=None, **options])
A latitude.
LatitudeField has two extra arguments:
- :py
LatitudeField.min_value
The minimum latitude that can be accepted (within the range of a latitude).
- :py
LatitudeField.max_value
The maximum latitude that can be accepted (within the range of a latitude).
class LongitudeField([min_value=None, max_value=None, **options])
A longitude.
LongitudeField has two extra arguments:
- :py
LongitudeField.min_value
The minimum longitude that can be accepted (within the range of a longitude).
- :py
LongitudeField.max_value
The maximum longitude that can be accepted (within the range of a longitude).
class LatLngField([**options])
A latlng.
class PointField([**options])
A point.