You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -81,18 +81,18 @@ methods for GeoJSON input/output.
81
81
82
82
This field takes three optional arguments:
83
83
84
-
``precision``: Passes coordinates through Python's builtin ``round()`` function (`docs
85
-
<https://docs.python.org/3/library/functions.html#round>`_), rounding values to
86
-
the provided level of precision. E.g. A Point with lat/lng of
87
-
``[51.0486, -114.0708]`` passed through a ``GeometryField(precision=2)``
88
-
would return a Point with a lat/lng of ``[51.05, -114.07]``.
89
-
90
-
``remove_duplicates``: Remove sequential duplicate coordinates from line and
91
-
polygon geometries. This is particularly useful when used with the ``precision``
92
-
argument, as the likelihood of duplicate coordinates increase as precision of
93
-
coordinates are reduced.
94
-
95
-
``auto_bbox``: If True, the GeoJSON object will include a `bounding box <https://datatracker.ietf.org/doc/html/rfc7946#section-5>`_, which is the smallest possible rectangle enclosing the geometry.
84
+
- ``precision``: Passes coordinates through Python's builtin ``round()`` function (`docs
85
+
<https://docs.python.org/3/library/functions.html#round>`_), rounding values to
86
+
the provided level of precision. E.g. A Point with lat/lng of
87
+
``[51.0486, -114.0708]`` passed through a ``GeometryField(precision=2)``
88
+
would return a Point with a lat/lng of ``[51.05, -114.07]``.
89
+
- ``remove_duplicates``: Remove sequential duplicate coordinates from line and
90
+
polygon geometries. This is particularly useful when used with the ``precision``
91
+
argument, as the likelihood of duplicate coordinates increase as precision of
92
+
coordinates are reduced.
93
+
- ``auto_bbox``: If ``True``, the GeoJSON object will include
94
+
a `bounding box <https://datatracker.ietf.org/doc/html/rfc7946#section-5>`_,
95
+
which is the smallest possible rectangle enclosing the geometry.
96
96
97
97
**Note:** While ``precision`` and ``remove_duplicates`` are designed to reduce the
98
98
byte size of the API response, they will also increase the processing time
0 commit comments