[postgis-devel] TRIANGLE
Paul Ramsey
pramsey at cleverelephant.ca
Tue Oct 5 16:10:30 PDT 2010
Unless I'm wrong, this is just a really stupid definition for the TRIANGLE WKB (from the "modularized" ISO draft)
WKBTriangle
{
byte byteOrder;
static uint32 wkbType = 17;
uint32 numRings;
LinearRing rings[numRings]
}
I mean, it's a triangle right? How many rings does it have? And how many points are in that ring? At a minimum it should be reduced to:
WKBTriangle
{
byte byteOrder;
static uint32 wkbType = 17;
LinearRing ring;
}
At least then only the number of points would be redundant information.
P.
More information about the postgis-devel
mailing list