﻿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
28960	Implement GEOS.BufferWithStyle	Stanislav Karpov	Stanislav Karpov	"Hello.
 
I couldn't find a method that allows to specify a style for a new polygon. For example, flat end caps. Other examples with images are available at: http://www.postgis.net/docs/ST_Buffer.html

But I found a similar method in GEOS:
{{{
# https://github.com/OSGeo/geos/blob/master/capi/geos_c.h.in#L1442
extern GEOSGeometry GEOS_DLL *GEOSBufferWithStyle(const GEOSGeometry* g,
double width, int quadsegs, int endCapStyle, int joinStyle,
double mitreLimit);
}}}

Using flat end caps allows to significantly reduce the number of points in the polygon. For example, a segment of a straight line will only turn into a rectangle, not a polygon with rounded corners."	New feature	closed	GIS	dev	Normal	fixed	gis, geodjango, geos		Accepted	1	0	0	1	0	0
