{"id":16940936,"url":"https://github.com/twpayne/go-geobabel","last_synced_at":"2025-04-11T19:22:57.339Z","repository":{"id":65711946,"uuid":"597595322","full_name":"twpayne/go-geobabel","owner":"twpayne","description":"Package geobabel converts geometry types between popular geometry libraries.","archived":false,"fork":false,"pushed_at":"2024-12-27T11:01:23.000Z","size":33,"stargazers_count":7,"open_issues_count":7,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T19:22:47.922Z","etag":null,"topics":["geo","geom","geos","gis","golang","orb","wkb"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twpayne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-05T02:27:34.000Z","updated_at":"2025-03-14T13:42:21.000Z","dependencies_parsed_at":"2023-02-19T02:01:21.848Z","dependency_job_id":null,"html_url":"https://github.com/twpayne/go-geobabel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twpayne%2Fgo-geobabel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twpayne%2Fgo-geobabel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twpayne%2Fgo-geobabel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twpayne%2Fgo-geobabel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twpayne","download_url":"https://codeload.github.com/twpayne/go-geobabel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465354,"owners_count":21108244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geo","geom","geos","gis","golang","orb","wkb"],"created_at":"2024-10-13T21:08:17.638Z","updated_at":"2025-04-11T19:22:57.307Z","avatar_url":"https://github.com/twpayne.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# geobabel\n\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/twpayne/go-geobabel)](https://pkg.go.dev/github.com/twpayne/go-geobabel)\n\nPackage `geobabel` converts geometry types between popular geometry libraries.\n\nSupported geometry types are:\n\n* [`orb.Geometry`](https://pkg.go.dev/github.com/paulmach/orb#Geometry) from\n  [`github.com/paulmach/orb`](https://github.com/paulmach/orb)\n\n* [`geom.T`](https://pkg.go.dev/github.com/twpayne/go-geom#T) from\n  [`github.com/twpayne/go-geom`](https://github.com/twpayne/go-geom)\n\n* [`*geos.Geom`](https://pkg.go.dev/github.com/twpayne/go-geos#Geom) from\n  [`github.com/twpayne/go-geos`](https://github.com/twpayne/go-geos)\n\n* Well Known Binary (WKB)\n\n`geobabel` exists because no single geometry library is perfect. For example:\n\n* `github.com/paulmach/orb` is a pure Go library with friendly API, excellent\n  [support for OpenStreetMap data](https://github.com/paulmach/orb) and MapBox\n  Vector Tiles, but only supports 2D geometries, and has a heavy focus on the\n  commonly-used EPSG:4326 and EPSG:3857 projections.\n\n* `github.com/twpayne/go-geom` is extremely high performance pure Go library\n  that supports multi-dimensional geometries, multiple encodings, and is\n  projection-agnostic, at the expense of a more complex API and a very limited\n  set of geometric operations.\n\n* `github.com/twpayne/go-geos` provides an idiomatic Go API to the huge set of\n  battle-tested geometric operations in the industry-standard [GEOS\n  library](https://libgeos.org/), at the expense of cgo overhead, C-style memory\n  management, and a focus on 2D geometries.\n\nWith `geobabel` you can combine the best aspects of each library. For example,\nyou can use a pure Go library like `go-geom` or `orb` to represent your\ngeometries and use a geometric operation that is only available in `go-geos`.\n\n## Supported conversions\n\n|                     | To `geom.T` | To `*geos.Geom` | To `orb.Geometry` | To WKB |\n| ------------------- | ----------- | --------------- | ----------------- | ------ |\n| From `geom.T`       | n/a         | no              | yes               | yes    |\n| From `*geos.Geom`   | no          | n/a             | yes               | yes    |\n| From `orb.Geometry` | yes         | yes             | n/a               | yes    |\n| From WKB            | yes         | yes             | yes               | n/a    |\n\nNote that WKB does not support LinearRings as a top-level geometry type.\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwpayne%2Fgo-geobabel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwpayne%2Fgo-geobabel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwpayne%2Fgo-geobabel/lists"}