[postgis-devel] constructor for CIRCULARLINE(pt1,pt2,pt3)

Sandro Santilli strk at keybit.net
Sun Oct 20 03:19:31 PDT 2013


On Wed, Oct 16, 2013 at 02:35:59PM +0200, RĂ©mi Cura wrote:
> Hey,
> 
> I'm working with curves,
> and I can't find a constructor except passing by WKT then GeomFromText.
> 
> 
> I did a simple plpgsql function to try to reduce the hassle, but it is a
> binary hack : changing the binary value indicating linestring to binary
> value indicating circularline, according to WKB definition. It still makes
> many casts.
> 
> *This is very dirty*, does anybody have better suggestion?

Writing a C level version of it. It's indeed missing.
Feel free to file an enhanement ticket for it and ask for help if needed
on implementing it :)

--strk;



More information about the postgis-devel mailing list