On Wed, 28 Jun 2023 10:01:17 -0700 (PDT), Elham Peiravian wrote:
> Hi All,
>
> I am trying to run my query on an app and one of the lines is:
>
> SET offsetA = ST_Project(ST_Transform(midpoint, 4326), 5, (Azimuth +
> pi()/2)- pi());
>
> -------------------- <snip> ---------------------------------
>
> So now I am wondering if there is something wrong with my query or if
> the issue is with the LWGEOM library?
>
Hi Elham,
it looks like you're using an incredibly old and desperately outdated
version of SpatiaLite.
LWGEOM is a library that is part of PostGIS and has always given a lot
of problems.on SpatiaLite.
it is precisely for this reason that we have completely abandoned it
several years ago., and all recent versions of SpatiaLite now use
RTTOPO instead of LWGEOM.
hint: test your SQL query on spatialite_gui, and you'll see that
it works as expected.
hint: update your sotfware to some modern version.
ciao Sandro