[postgis-users] How to set right buffer
Marcin Mionskowski
mionskowskimarcin at gmail.com
Wed Jan 12 12:29:16 PST 2022
It is working for me (POSTGIS="3.2.0 c3e3cc0" [EXTENSION] PGSQL="130"
GEOS="3.8.0-CAPI-1.13.1 " PROJ="6.3.1" GDAL="GDAL 3.0.4, released
2020/01/28" LIBXML="2.9.10" LIBJSON="0.13.1" LIBPROTOBUF="1.3.3"
WAGYU="0.5.0 (Internal)" (core procs from "3.1.1 aaf4c79" need upgrade)
RASTER (raster procs from "3.1.4 ded6c34" need upgrade)).
Try to use a projected CRS or simply remove all zeros from your example - I
belive that by default those coordinate are treated as lat/lon values, in
which case N150 can cause problems.
śr., 12 sty 2022 o 20:05 Shaozhong SHI <shishaozhong at gmail.com> napisał(a):
> I tried this to set a right buffer, but it failed.
>
> Can anyone enlighten me?
>
> Regards,
>
> Shao
>
> SELECT ST_Buffer(
> ST_GeomFromText(
> 'LINESTRING(50 50,150 150,150 50)'
> ), 10, 'side=right');
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20220112/c0088959/attachment.html>
More information about the postgis-users
mailing list