﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
17736	django.contrib.gis.geos.polygon from_bbox loss of floating-point accuracy	tdihp@…	David Eklund	"from_bbox use a string formatting to generate a geom instance, this will loose accuracy, when it matters

for example:


{{{
>>> import math
>>> from django.contrib.gis.geos import Polygon
>>> l,t,r,b = 0.0,0.0,math.pi,math.pi
>>> Polygon.from_bbox((l,t,r,b)).coords
(((0.0, 0.0), (0.0, 3.14159265359), (3.14159265359, 3.14159265359), (3.14159265359, 0.0), (0.0, 0.0)),)
>>> Polygon(((l,t),(r,t),(r,b),(l,b),(l,t))).coords
(((0.0, 0.0), (3.141592653589793, 0.0), (3.141592653589793,
}}}"	Bug	closed	GIS	1.3	Normal	fixed		daek@…	Accepted	1	0	1	0	0	0
