[postgis-devel] Invalid geometry from buffer
strk
strk at keybit.net
Sat Jun 20 14:24:24 PDT 2009
st_buffer('POLYGON((0 0, 10 0, 10 10, 0 0))', -3, 8);
The above returns a Polygon with a ring containing 0 points.
It is invalid for postgis, and not all functions can deal with that.
For example the canonical text output and area() can't, summary() can.
Martin, does JTS return the same weird polygon rather than a
POLYGON EMPTY ?
--strk;
Free GIS & Flash consultant/developer () ASCII Ribbon Campaign
http://foo.keybit.net/~strk/services.html /\ Keep it simple!
More information about the postgis-devel
mailing list