[postgis-devel] failure in clipbybox2d test

Darafei "Komяpa" Praliaskouski me at komzpa.net
Tue May 29 08:45:58 PDT 2018


I can not confirm the observed results locally or on CI. I have not updated
GEOS to latest commits though.

# SELECT '6', ST_AsText(ST_ClipByBox2d('POLYGON((0 0,5 4,5 6,0 10,10 10,5
6,5 4,10 0,0 0))', ST_MakeEnvelope(2,2,10,5)));
6 MULTIPOLYGON(((2.5 2,5 4,5 5,10 5,10 2,2.5 2)))
# select postgis_full_version();
POSTGIS="2.5.0dev r16548" [EXTENSION] PGSQL="100"
GEOS="3.7.0dev-CAPI-1.11.0 0" SFCGAL="1.3.1" PROJ="Rel. 4.9.3, 15 August
2016" GDAL="GDAL 2.3.0, released 2018/05/04 GDAL_DATA not found"
LIBXML="2.9.4" LIBJSON="0.12.1" LIBPROTOBUF="1.3.0" RASTER

Judging visually, your result is the needed one.

If that is improved in latest GEOS, we'd better get it released for PostGIS
2.5 :)

вт, 29 мая 2018 г. в 17:47, Sandro Santilli <strk at kbt.io>:

> I'm getting a failure in clipbybox2d test:
>
>   --- clipbybox2d_expected        2018-05-29 16:44:35.453718509 +0200
>   +++ /tmp/pgis_reg/test_115_out  2018-05-29 16:45:13.445522595
> <8%20044%20552-25-95> +0200
>   @@ -3,7 +3,7 @@
>    3|BOX(2 2,8 8)
>    4|MULTIPOINT(0 0,2 2)
>    5|MULTIPOLYGON(((2 2,5 5,8 2,2 2)),((5 5,2 8,8 8,5 5)))
>   -6|MULTIPOLYGON(((2.5 2,5 4,5 5,10 5,10 2,2.5 2)))
>   +6|MULTIPOLYGON(((2.5 2,5 4,7.5 2,2.5 2)))
>    7|POLYGON((2 2,2 5,5 5,5 2,2 2))
>    8|SRID=3857;POLYGON EMPTY
>    9|SRID=4326;POINT(0 0)
>
> Beside the above, I was also getting NOTICES which were not
> expected (or missing expected NOTICES if I turned notices off).
> The above is obtained by removing the NOTICE expectances and
> ensuring not to get them via client_min_message setting in
> the test.
>
> Is it a known bug ?
>
> The run is with GEOS="3.7.0dev-CAPI-1.11.0 4942053e"
>
> --strk;
>
>   ()   Free GIS & Flash consultant/developer
>   /\   https://strk.kbt.io/services.html
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20180529/d2f83e42/attachment.html>


More information about the postgis-devel mailing list