This Go module provides various Akuko temporal activities written using the golang language. At the moment the activities include functionality for converting a GeoParquet file to GeoJSON and sanitizing GeoJSON feature property names.
- Convert GeoParquet files to GeoJSON format.
- Sanitize GeoJSON feature property names to cube dimension naming syntax.
- Go version 1.20 or higher.
- Temporal server setup. Refer to Temporal's documentation for instructions on setting up a local dev server.
To build the binary, run the following command:
Build
go build -o ./bin/akuko-temporal-go-tooling
Run
./bin/akuko-temporal-go-tooling
or run the go program directly:
Install dependencies
go mod tidy
Run
gow run main.go
Before running the tool, make sure to set the following environment variables:
TEMPORAL_HOST
: The host address of the Temporal server.TEMPORAL_NAMESPACE
: The namespace used for performing this module activities in Temporal.GEOPARQUET_WORKER_TASK_QUEUE_NAME
: The name of the task queue for GeoParquet worker tasks.
Building for arm64 based architectures:
docker buildx build -t <docker_tag_name> --platform linux/arm64 .
Building for amd64 based architectures:
docker buildx build -t <docker_tag_name> --platform linux/amd64 .
Building for both amd64 and arm64 based architectures:
docker buildx build -t <docker_tag_name> --platform linux/amd64, linux/arm64 .
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.