Allow single-point polygons to be converted to circles
authorBruce Momjian <bruce@momjian.us>
Mon, 24 Feb 2014 17:24:00 +0000 (12:24 -0500)
committerBruce Momjian <bruce@momjian.us>
Mon, 24 Feb 2014 17:24:00 +0000 (12:24 -0500)
commit423f69ab64a6e51fbdd97a83c1dc55d68ca6190d
tree9af54dca4b667753db534aee024b5e916600bacb
parent8457d0beca731bf062bb0d126870d9a291ab47a5
Allow single-point polygons to be converted to circles

This allows finding the center of a single-point polygon and converting
it to a point.

Per report from Josef Grahn
src/backend/utils/adt/geo_ops.c