Skip to content

Commit

Permalink
Update to v4 (#27)
Browse files Browse the repository at this point in the history
* removed transverse mercator tms
* removing poetry, added debug path to app
* restructure to src layout
* new name scheme that includes the actual body name and projection info
* uses new package for accessing the planetary crs registry
* now uses 256x256 tiles
* added coalesced grids following GNOSIS conventions
* added bisect search for oddly behaving polar projections
* cut down zoom levels past 2.5 mm per pixel
* fix typo in web mercator bounds that was causing issues
* update to remove private _geographic_crs attribute
  • Loading branch information
AndrewAnnex authored Oct 28, 2024
1 parent 6a6d003 commit 90ee426
Show file tree
Hide file tree
Showing 2,187 changed files with 756,274 additions and 478,927 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,25 @@ jobs:
name: Run Planetcantile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: setup git config
run: |
git config user.name "Andrew Annex's GitHub Actions Bot"
git config user.email "<>"
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'
- name: Install deps
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry install
python -m pip install .[dev]
- name: Run defaults script
run: |
cd planetcantile/data && poetry run python ./generate.py && cd -
cd src/planetcantile/data && python ./generate.py && cd -
- name: show outputs
run: |
cat ./planetcantile/data/*/*.json
cat ./src/planetcantile/data/*/*.json
git status
- name: run tests
run: |
poetry run pytest .
python -m pytest .
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__pycache__/
planetcantile/__pycache__/
tests/__pycache__/

.vscode/
.DS_Store
.idea
.idea/*
Expand Down
3 changes: 0 additions & 3 deletions planetcantile/__init__.py

This file was deleted.

40 changes: 0 additions & 40 deletions planetcantile/app.py

This file was deleted.

187 changes: 0 additions & 187 deletions planetcantile/data/generate.py

This file was deleted.

Loading

0 comments on commit 90ee426

Please sign in to comment.