mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Fix geos doctest issues
This commit is contained in:
parent
b02f65e40f
commit
925ab54f59
@ -1184,13 +1184,13 @@ include the SRID value (in other words, EWKB).
|
||||
>>> print(wkt_w.precision)
|
||||
None
|
||||
>>> wkt_w.write(pnt)
|
||||
'POINT (1.4399999999999999 1.6599999999999999)'
|
||||
b'POINT (1.4399999999999999 1.6599999999999999)'
|
||||
>>> wkt_w.precision = 0
|
||||
>>> wkt_w.write(pnt)
|
||||
'POINT (1 2)'
|
||||
b'POINT (1 2)'
|
||||
>>> wkt_w.precision = 1
|
||||
>>> wkt_w.write(pnt)
|
||||
'POINT (1.4 1.7)'
|
||||
b'POINT (1.4 1.7)'
|
||||
|
||||
.. rubric:: Footnotes
|
||||
.. [#fnogc] *See* `PostGIS EWKB, EWKT and Canonical Forms <https://postgis.net/docs/using_postgis_dbmanagement.html#EWKB_EWKT>`_, PostGIS documentation at Ch. 4.1.2.
|
||||
|
Loading…
Reference in New Issue
Block a user