blob: 0f11885ab78c2d651d56f42c3c91849ba357c6be (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ runCommand, geos }:
let
inherit (geos) pname;
in
runCommand "${geos}-tests" { meta.timeout = 60; }
''
${geos}/bin/geosop \
--explode \
--format wkt \
polygonize \
-a "MULTILINESTRING ((200 100, 100 100, 200 200), (200 200, 200 100), (200 200, 300 100, 200 100))" \
| grep 'POLYGON ((200 100, 100 100, 200 200, 200 100))'
touch $out
''
|