[postgis-devel] Curve WKB type numbers

Paul Ramsey pramsey at cleverelephant.ca
Sat Nov 27 08:00:37 PST 2010


I mention it because I am adding curve support to map server right now, so... Yay.

P.

On 2010-11-27, at 2:08 AM, Olivier Courtin <olivier.courtin at oslandia.com> wrote:

> 
> 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
> 
> 
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list