|
NAMEGeo::JSON::Utils - Util methods for Geo::JSON classesSYNOPSISuse Geo::JSON::Utils qw/ compare_positions compute_bbox /; DESCRIPTIONUtil methods for Geo::JSONMETHODScompare_positionsif (Geo::JSON::Utils::compare_positions( $pt1, $pt2 )) { # positions of points are the same } Compare two points. Compares in up to three dimensions. Any further dimensions are ignored. compute_bboxmy $bbox = Geo::JSON::Utils::compute_bbox( \@positions ); Computes a bounding box for an arrayref of positions. The bounding box is a list of all minimum values for all axes followed by all maximum values. The values are in the order the axis they appear in the position geometry. Assumes all points will have same number of dimensions as the first. TODO
Visit the GSP FreeBSD Man Page Interface. |