{"id":19458483,"url":"https://github.com/postgrespro/pgsphere","last_synced_at":"2025-07-05T01:33:02.028Z","repository":{"id":45541070,"uuid":"329868305","full_name":"postgrespro/pgsphere","owner":"postgrespro","description":" PgSphere provides spherical data types, functions, operators, and indexing for PostgreSQL.","archived":false,"fork":false,"pushed_at":"2024-11-11T07:45:18.000Z","size":1868,"stargazers_count":22,"open_issues_count":17,"forks_count":15,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-24T10:48:42.376Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pgsphere.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/postgrespro.png","metadata":{"files":{"readme":"README.pg_sphere","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"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}},"created_at":"2021-01-15T09:36:13.000Z","updated_at":"2025-01-20T23:23:15.000Z","dependencies_parsed_at":"2023-11-07T07:23:38.969Z","dependency_job_id":"effaa482-e80c-45b3-beba-e766d89a3fb1","html_url":"https://github.com/postgrespro/pgsphere","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postgrespro%2Fpgsphere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postgrespro%2Fpgsphere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postgrespro%2Fpgsphere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postgrespro%2Fpgsphere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/postgrespro","download_url":"https://codeload.github.com/postgrespro/pgsphere/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250766951,"owners_count":21483893,"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":[],"created_at":"2024-11-10T17:27:16.192Z","updated_at":"2025-04-25T06:30:26.167Z","avatar_url":"https://github.com/postgrespro.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"pgSphere is a PostgreSQL extension for spherical geometry.\n\nIt provides:\n\n* New data types (points, spherical polygons, paths, circles, ellipses, coordinate ranges)\n* Input and output of data in various formats\n* Membership, overlap, and other operators\n* Circumference and area of objects\n* Object rotation by Euler angles\n* Indexing of spherical data types\n\nThis is an R-tree implementation using GiST for spherical objects like\nspherical points and spherical circles with useful functions and operators.\nIt also supports the Block Range INdexing (BRIN) for large datasets.\n\nNOTICE:\n     This version will work only with PostgreSQL version 10 and above.\n\nVERSIONING:\n\nStable versions are marked with tags containing version numbers in the GitHub\nrepository at https://github.com/postgrespro/pgsphere/. Each stable version\ncontains upgrade scripts for updating an existing installation to the latest\nversion using the ALTER EXTENSION UPDATE TO command.\n\nThe master branch is intended for development purposes and may contain\nintermediate changes. The current version in the master branch and its\nfunctionality are subject to change.\n\nNote: The master branch should not be used in production because the upgrade\nscripts and the current version number may be changed.\n\nINSTALLATION:\n\n  -- Build and install\n\n  make\n  make install\n\n  -- HEALPix/MOC support is included by default. If your platform does not\n  -- have the required libhealpix_cxx dependency, you can optionally build\n  -- pgSphere without HEALPix/MOC support, like this:\n\n  make USE_HEALPIX=0\n  make USE_HEALPIX=0 install\n\n  -- Load extension\n\n  psql -c \"CREATE EXTENSION pg_sphere;\" \u003cdatabase\u003e\n\nUPDATING AN EXISTING INSTALLATION:\n\n  -- If you are updating from a previous version of pgSphere, perform the\n  -- same make and make install steps as above, but, instead of the CREATE\n  -- EXTENSION step, you need to do:\n\n  psql -c \"ALTER EXTENSION pg_sphere UPDATE TO 'A.B.C';\" \u003cdatabase\u003e\n\n  -- where A.B.C is a placeholder for the current version.\n  -- You also may want to check what version of pgSphere is installed using\n     either or both of the following commands:\n\n  psql -c \"SELECT pg_sphere_version();\" \u003cdatabase\u003e\n  psql -c \"SELECT * FROM pg_available_extension_versions WHERE name = 'pg_sphere';\"\n\nREGRESSION TEST (as the same user as the currently running PostgreSQL server):\n\n  make installcheck\n\n  -- or --\n\n  make USE_HEALPIX=0 installcheck\n\nLONG REGRESSION TEST:\n\n  make crushtest\n\n  -- or --\n\n  make USE_HEALPIX=0 crushtest\n\nThe 'make' program used in all of the above commands must be compatible with\nGNU make.\n\nFor more information or to report issues or to help with development, please\nrefer to https://github.com/postgrespro/pgsphere/\n\nOriginal repository for pgSphere: https://github.com/akorotkov/pgsphere\n\nHave a lot of fun!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostgrespro%2Fpgsphere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpostgrespro%2Fpgsphere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostgrespro%2Fpgsphere/lists"}