https://github.com/dkastl/pg_spatialid
Spatial ID (空間ID) utilities for PostgreSQL/PostGIS.
https://github.com/dkastl/pg_spatialid
spatial-id
Last synced: 5 months ago
JSON representation
Spatial ID (空間ID) utilities for PostgreSQL/PostGIS.
- Host: GitHub
- URL: https://github.com/dkastl/pg_spatialid
- Owner: dkastl
- License: gpl-3.0
- Created: 2025-06-09T09:46:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-10T06:24:02.000Z (about 1 year ago)
- Last Synced: 2025-10-23T21:53:39.637Z (8 months ago)
- Topics: spatial-id
- Language: Makefile
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SpatialID Extension
[Spatial ID (空間ID)][1] utilities for PostgreSQL/PostGIS.
## Status
* **Extension version:** 0.1.0
* **Implements:** [空間ID (Spatial ID) specification v1.0][1]
## Requirements
* PostgreSQL >= TBD
* PostGIS >= TBD
* GNU Make
## Installation
1. **Build the extension:**
```sh
make build
```
2. **Install to PostgreSQL (may require sudo):**
```sh
sudo make install
```
3. **Run tests (optional):**
```sh
make test
```
## Usage
After installation, in your database:
```sql
CREATE EXTENSION pg_spatialid CASCADE;
```
Read more about the extension's features and usage in the [documentation](docs/index.md).
## Development
* SQL source code is organized in `src/`, with templated files (`.sql.in`) and plain SQL.
* Use `make clean` to remove build artifacts.
* See Makefile for build details.
* For testing, use `make test` to run the included SQL tests (requires `pg_prove`).
## License
This project is licensed under the [GNU General Public License v3.0](LICENSE).
[1]: https://www.ipa.go.jp/digital/architecture/guidelines/4dspatio-temporal-guideline.html