From c7e986fc9f4848bd757d4b9b70a40586d2cee9fb Mon Sep 17 00:00:00 2001 From: Alexis Athlani Date: Mon, 15 Jan 2024 23:16:12 +0100 Subject: Fixed #35117 -- Added support for the hectare unit in Area. --- docs/ref/contrib/gis/measure.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/contrib/gis/measure.txt b/docs/ref/contrib/gis/measure.txt index ad02db87fa..cee4211220 100644 --- a/docs/ref/contrib/gis/measure.txt +++ b/docs/ref/contrib/gis/measure.txt @@ -116,6 +116,19 @@ Unit Attribute Full name or alias(es) For example, ``Area(sq_m=2)`` creates an :class:`Area` object representing two square meters. +In addition to unit with the ``sq_`` prefix, the following units are also +supported on :class:`Area`: + +================================= ======================================== +Unit Attribute Full name or alias(es) +================================= ======================================== +``ha`` Hectare +================================= ======================================== + +.. versionchanged:: 5.1 + + Support for the ``ha`` unit was added. + Measurement API =============== -- cgit v1.3