[postgis-devel] alignment issues
strk at refractions.net
strk at refractions.net
Thu Feb 10 06:13:12 PST 2005
On Thu, Feb 10, 2005 at 02:08:44PM -0000, Mark Cave-Ayland wrote:
> Hi strk,
>
> > -----Original Message-----
> > From: postgis-devel-bounces at postgis.refractions.net
> > [mailto:postgis-devel-bounces at postgis.refractions.net] On
> > Behalf Of strk at refractions.net
> > Sent: 10 February 2005 13:18
> > To: postgis-devel at postgis.refractions.net
> > Subject: [postgis-devel] alignment issues
> >
> >
> > I'm afraid these crashing points are due to memory alignment
> > issues. I wonder how can other functions work.
>
> (cut)
>
> > A possible solution is dropping this access method (getPoint)
> > and always use functions filling contents of a provided
> > POINT*
>
> I haven't had much experience with alignment issues, however this looks like
> the easiest solution to me (e.g. you can declare a single POINT2D in your
> function and then reuse it for the entire set of POINT2Ds referenced
> within). I also noticed in the source that the functions to do this already
> exist, for example getPoint2d_p....
Yes, but they are cheating, they call getPoint() internally ...
--strk;
>
>
> Kind regards,
>
> Mark.
>
> ------------------------
> WebBased Ltd
> South West Technology Centre
> Tamar Science Park
> Plymouth
> PL6 8BT
>
> T: +44 (0)1752 791021
> F: +44 (0)1752 791023
> W: http://www.webbased.co.uk
>
>
> _______________________________________________
> 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