[postgis-devel] Curve WKB type numbers

Olivier Courtin olivier.courtin at oslandia.com
Sat Nov 27 02:08:23 PST 2010


On Nov 27, 2010, at 1:37 AM, Paul Ramsey wrote:

> FYI, the AsBinary() function is currently spitting out the wrong type
> numbers for the following:
>
> #define CURVEPOLYTYPE    13
> #define MULTICURVETYPE   14
> #define MULTISURFACETYPE 15
>
> The actual numbers should be 10,11,12. Not sure what we should do. We
> can't fix it in 1.5 as it would backwards break anything that expected
> these wrong answers.

Having the right answer since 2.0 seems (to me) a reasonable way.

Hopefully curves are not yet 'that' used by others third part tools

--
Olivier





More information about the postgis-devel mailing list