Skip to content

Commit f66beda

Browse files
Cleanup
1 parent b5c83e3 commit f66beda

7 files changed

Lines changed: 10 additions & 258 deletions

File tree

.github/workflows/publish-stack.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ permissions:
1111
pages: write
1212
id-token: write
1313

14-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
15-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
16-
concurrency:
17-
group: "pages"
18-
cancel-in-progress: false
19-
2014
jobs:
2115
# Single deploy job since we're just deploying
2216
deploy:

.gitignore

Lines changed: 0 additions & 167 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,12 @@
11
# Overture STAC
2+
Generate STACs for all public Overture releases
23

3-
This repo serves two functions:
4-
5-
1) Generate STACs for all public Overture releases
6-
2) To generate download manifests for the explore site.
4+
See it in action here:
5+
https://radiantearth.github.io/stac-browser/#/external/labs.overturemaps.org/stac/catalog.json?.language=en
76

87
## To generate the STAC:
98

109
```bash
10+
pip install -r requirements
1111
python3 gen-all-release-stac.py`
1212
```
13-
14-
This will generate a complete catalog for the last 5 public releases (trial) at the `public_releases` directory.
15-
16-
17-
## To generate the explore site manifest:
18-
Same as above, but instead you will modify / run the `gen-explore-site-manifest.py` script instead.
19-
20-
The manifest is stored in a file called `{release_version}.json` when done.
21-
22-
23-
24-
## Virtual Environment
25-
To enter the venv:
26-
27-
cd to the base dir.
28-
> virtualenv -p python3 .
29-
> source bin/activate
30-
> python3 ./gen-manifest.py
31-
32-
Then pip install any modules you're missing.
33-
34-
To exit the venv:
35-
36-
> deactivate

gen-all-release-stac.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import pystac
66
import yaml
77

8-
from util.overture_stac import OvertureRelease
8+
from src.overture_stac import OvertureRelease
99

1010
if __name__ == "__main__":
1111

@@ -20,13 +20,6 @@
2020
help="Output path for Catalog",
2121
)
2222

23-
parser.add_argument(
24-
"--schema-versions",
25-
type=str,
26-
default="overture_releases.yaml",
27-
help="Path to the Schema Version <> Release mapping yaml file.",
28-
)
29-
3023
parser.add_argument(
3124
"--debug",
3225
action="store_true",
@@ -43,9 +36,13 @@
4336

4437
schema_version_mapping = dict()
4538

46-
# From https://labs.overturemaps.org/data/overture_releases.yaml — TODO: Where should this live / is it a CDP variable?
39+
# TODO: Where should this live / is it a CDP variable?
4740
for _ in yaml.safe_load(
4841
"""
42+
- schema: "1.12.0"
43+
release: "2025-08-20.0"
44+
- schema: "1.11.0"
45+
release: "2025-07-23.0"
4946
- schema: "1.10.0"
5047
release: "2025-06-25.0"
5148
- schema: "1.9.0"

overture_releases.yaml

Lines changed: 0 additions & 48 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)