Rand Stats

GEOS

zef:bduggan

Actions Status Actions Status

NAME

GEOS - Raku bindings and wrappers for libgeos

SYNOPSIS

use GEOS::Geometry;

my $polygon = GEOS::Geometry.from-geojson('{"type":"Polygon","coordinates":[[[0,0],[0,4],[4,4],[4,0],[0,0]]]}');
my $buffered = $polygon.buffer(2);

say $polygon.area;  # 16
say $buffered.area;  # 60

DESCRIPTION

This module provides Raku bindings and wrappers for the libgeos library, https://libgeos.org/.

GEOS provides numerous C functions for creating, manipulating, and analyzing geometric objects.

A fraction of the functionality offered includes:

For a more complete list of functions available through this module, see the GEOS::Geometry module.

SEE ALSO

AUTHOR

Brian Duggan