go-geom

github.com/twpayne/go-geom Programming Languages Open-source projectOpen source

The go-geom package provides geometry types for geospatial applications written in Go.

github.com/twpayne/go-geom
go-geom homepage screenshot

About go-geom

go-geom is an open source Go package that provides geometry types for geospatial applications. It supports 2D, 3D, and unlimited extra dimension geometries, with an efficient, cache-friendly internal representation. The package includes encoding and decoding for common geospatial formats, 2D and 3D topology functions, optional protection against malicious or malformed inputs, and built-in database integration interfaces.

Key features

  • Implements OpenGeo Consortium-style geometry types
  • Supports 2D, 3D, and unlimited extra dimension geometries
  • Encodes and decodes GeoJSON, KML, WKB, EWKB, WKT, and IGC
  • Includes 2D and 3D geometry topology functions
  • Implements sql.Scanner and driver.Value for database integration
  • Offers optional protection against malicious or malformed inputs
Best for: Go developers building geospatial applications requiring geometry handling, format support, and database integration.
Good for
  • Supports a wide range of common geospatial encoding formats
  • Provides built-in database integration via standard Go interfaces
  • Includes optional protection against malformed input attacks
Watch out for
  • KML format support is encoding-only
  • WKT format support is encoding-only
  • Malicious or malformed input protection is disabled by default

go-geom at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

go-geom alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

frog

github.com/LanguageMachines/frog

Frog combines memory based NLP modules for Dutch, including tagging, lemmatization, morphology analysis, and dependency parsing.

Open source
24 alternatives

Popular in Programming Languages

Well-known listings from the same topic.

All 66

go-geom FAQ

What geospatial encoding formats does go-geom support?
It supports GeoJSON, IGC, KML (encoding only), WKB, EWKB, WKT (encoding only), WKB Hex, and EWKB Hex.
Does go-geom support database integration?
Yes, it implements sql.Scanner and driver.Value interfaces for easy database integration.
Is protection against malicious inputs enabled by default?
No, it is disabled by default and can be enabled by setting positive values for wkbcommon.MaxGeometryElements.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing