{"id":13412980,"url":"https://github.com/spatial-go/geoos","last_synced_at":"2025-03-14T19:30:53.477Z","repository":{"id":37815188,"uuid":"350567464","full_name":"spatial-go/geoos","owner":"spatial-go","description":"A library provides spatial data and geometric algorithms","archived":false,"fork":false,"pushed_at":"2024-07-03T13:45:37.000Z","size":13442,"stargazers_count":608,"open_issues_count":17,"forks_count":130,"subscribers_count":17,"default_branch":"main","last_synced_at":"2024-07-31T20:51:45.339Z","etag":null,"topics":["geometry-library","geospatial","gis","golang"],"latest_commit_sha":null,"homepage":"http://www.spatial-go.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spatial-go.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-03-23T03:28:08.000Z","updated_at":"2024-07-14T03:51:02.000Z","dependencies_parsed_at":"2024-06-18T13:56:17.608Z","dependency_job_id":"1f8652e9-19b8-4069-8977-2f0be7e13b83","html_url":"https://github.com/spatial-go/geoos","commit_stats":{"total_commits":311,"total_committers":22,"mean_commits":"14.136363636363637","dds":0.5916398713826366,"last_synced_commit":"e47d35d64b76c73f7504123139765b6034d63ec5"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-go%2Fgeoos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-go%2Fgeoos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-go%2Fgeoos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatial-go%2Fgeoos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spatial-go","download_url":"https://codeload.github.com/spatial-go/geoos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221495322,"owners_count":16832459,"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":["geometry-library","geospatial","gis","golang"],"created_at":"2024-07-30T20:01:31.898Z","updated_at":"2024-10-26T04:31:32.434Z","avatar_url":"https://github.com/spatial-go.png","language":"Go","readme":"# Geoos\nOur organization `spatial-go` is officially established! The first open source project `Geoos`(Using `Golang`) provides spatial data and geometric algorithms.\nAll comments and suggestions are welcome!\n\n## Guides\n\nhttp://www.spatial-go.com\n\n## Contents\n  - [Guides](#guides)\n  - [Contents](#contents)\n  - [Structure](#structure)\n  - [Documentation](#documentation)\n  - [Maintainer](#maintainer)\n  - [Contributing](#contributing)\n  - [License](#license)\n\n\n\n## Structure\n1.algorithm\nPackage algorithm defines Specifies Computational Geometric and algorithm err.\n2.clusters\nPackage clusters is a spatial clustering algorithm.\n3.coordtransform\nPackage coordtransform is for transform coord.\n4.example\nExample This is an example .\n5.geoencoding\nPackage geoencoding is a library for encoding and decoding into Go structs using the geometries.\n6.grid\nPackage grid is used to generate grid data.\n7.index\nPackage index define spatial index interface.\n8.planar\nPackage planar provides support for the implementation of spatial operations and geometric algorithms.\n9.space\nPackage space A representation of a linear vector geometry.\n10.utils\nPackage utils A functions of utils.\n\n## Documentation\nHow to use `Geoos`:\nExample: Calculating `area` via `Geoos`\n```\npackage main\n\nimport (\n\t\"bytes\"\n\t\"fmt\"\n\n\t\"github.com/spatial-go/geoos/geoencoding\"\n\t\"github.com/spatial-go/geoos/planar\"\n)\n\nfunc main() {\n\t// First, choose the default algorithm.\n\tstrategy := planar.NormalStrategy()\n\t// Secondly, manufacturing test data and convert it to geometry\n\tconst polygon = `POLYGON((-1 -1, 1 -1, 1 1, -1 1, -1 -1))`\n\t// geometry, _ := wkt.UnmarshalString(polygon)\n\n\tbuf0 := new(bytes.Buffer)\n\tbuf0.Write([]byte(polygon))\n\tgeometry, _ := geoencoding.Read(buf0, geoencoding.WKT)\n\n\t// Last， call the Area () method and get result.\n\tarea, e := strategy.Area(geometry)\n\tif e != nil {\n\t\tfmt.Printf(e.Error())\n\t}\n\tfmt.Printf(\"%f\", area)\n\t// get result 4.0\n}\n```\nExample: geoencoding\n[example_encoding.go](https://github.com/spatial-go/geoos/example/example_encoding.go)\n\n## Maintainer\n\n[@spatial-go](https://github.com/spatial-go)。\n\n## Contributing\n\nWe will also uphold the concept of \"openness, co-creation, and win-win\" to contribute in the field of space computing.\n\nWelcome to join us ！[please report an issue](https://github.com/spatial-go/geoos/issues/new)\n\nEmail Address： [geoos@changjing.ai](mailto:geoos@changjing.ai)\n\n## License\n`Geoos` is licensed under the:\n[LGPL-2.1 ](LICENSE)","funding_links":[],"categories":["地理","Geospatial Library","Go","Geographic"],"sub_categories":["检索及分析资料库","Go","Search and Analytic Databases"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspatial-go%2Fgeoos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspatial-go%2Fgeoos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspatial-go%2Fgeoos/lists"}