nimgeos — Nim wrapper for the GEOS geometry engine.
Public API re-exports. Internal modules (private/, factories) are intentionally not re-exported. See also: the user guide at docs/index.md.
Geometry typesBase operations & iteratorsSerializersPredicates & spatial operationsImports
-
nimgeos/errors, nimgeos/context, nimgeos/geometry, nimgeos/geometries/point, nimgeos/geometries/linestring, nimgeos/geometries/linearring, nimgeos/geometries/polygon, nimgeos/geometries/multi, nimgeos/geometries/prepared, nimgeos/geometries/coord_seq, nimgeos/geometry_base, nimgeos/serializers/wkt, nimgeos/serializers/wkb, nimgeos/serializers/geojson, nimgeos/spatial_predicates, nimgeos/spatial_operations
Exports
-
GeosParseError, GeosError, GeosInitError, GeosGeomError, GeosContext, checkContext, =copy, version, isNil, withGeosContext, =destroy, initGeosContext, numGeometries, Geometry, GeometryObj, clone, =dup, =destroy, isEmpty, distance, =copy, isValid, numCoordinates, type, $, length, area, GeomType, wrapHandle, checkHandle, $, x, y, PointObj, Point, createPoint, createPoint, z, pointN, $, endPoint, LineStringObj, startPoint, createLineString, LineString, numPoints, createLineString, $, LinearRingObj, LinearRing, createLinearRing, createLinearRing, interiorRingN, $, exteriorRing, PolygonObj, Polygon, createPolygon, numInteriorRings, $, $, MultiLineStringObj, $, MultiPolygon, MultiPolygonObj, MultiPointObj, GeometryCollectionObj, MultiPoint, MultiLineString, GeometryCollection, createMultiGeometry, $, preparedContains, prepare, preparedIntersects, preparedIntersects, preparedContains, preparedCoveredBy, PreparedGeometry, preparedCovers, preparedCoveredBy, PreparedGeometryObj, =destroy, preparedCovers, len, $, setZ, items3D, setCoord, CoordSeq, setCoord, getCoord, clone, getZ, getCoord3D, setX, items, newCoordSeq, checkHandle, =copy, dims, getY, getX, =destroy, setY, coordSeq, items, items, geomN, items, items, fromWKT, toWKT, toWKB, fromWKB, fromHexWKB, WkbByteOrder, toHexWKB, toGeoJSON, fromGeoJSON, touches, equals, intersects, overlaps, crosses, within, disjoint, contains, topologyPreserveSimplify, union, intersection, buffer, snap, centroid, difference, unaryUnion, boundary, envelope, symmetricDifference, convexHull, simplify