Skip to content

Commit

Permalink
Merge many many many re-org changes into main!!! (#116)
Browse files Browse the repository at this point in the history
* cli with caller id'

* tests for touch!

* dprint update

* added copy tests

* bbox copy good!"

* agg hash cmd

* fix agg hash fn'

* fix vac to be async cmd...

* dbpath part of sqlite lib

* lint remove dumb thing

* server compression

* update version

* lint results

* fix up touch to be async!

* ack actually turn off warning if fix not not not on... should warn if true had backwards

* fixes

* info all async!

* format

* lintlintlint

* lint lint lint

* lint fixes for bill

* pre-clippy commit with many unwraps removed

* pre ci'

* dev command re-org

* removed panics

* pragma!?

* added test(s)

* format

* changes!

* tile-size update

* removed deps

* fix clippy warning
  • Loading branch information
jessekrubin authored Jul 20, 2024
1 parent fe6ee7b commit 5eeab5a
Show file tree
Hide file tree
Showing 95 changed files with 3,150 additions and 2,471 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ max_line_length = 80
indent_size = 2
indent_style = space

[*.{toml}]
indent_size = 2

[*.{yml,yaml}]
indent_style = space
indent_size = 2
Expand Down
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
.venv/
.tox/
playground/
__pycache__/
f.py
f.ts
f.tsx
Expand Down Expand Up @@ -175,9 +176,6 @@ cdk.out/
.vscode/
.vscode/* # Maybe .vscode/**/* instead - see comments
!.vscode/settings.json.default
# !.vscode/tasks.json
# !.vscode/launch.json
# !.vscode/extensions.json

### VisualStudioCode Patch ###
# Ignore all local history of files
Expand All @@ -195,5 +193,8 @@ file.py

# testing data
blue-marble/
crates/**/*.db
crates/**/*.mbtiles
crates/**/*.pmtiles
crates/**/*.sqlite
crates/**/*.utiles
21 changes: 10 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CHANGELOG

## TODO

- lint/copy overhaul
- `webpify` command for converting images to webp

Expand All @@ -12,30 +12,29 @@
- Using `json-patch` for metadata updates
- Allow setting metadata value(s) from file if no value is provided (`-`/`--`) for stdin

___

---

## 0.6.1 (2024-07-01)

- Fix calling `utiles.ut_cli` multiple times causing tracing-subscriber crash

___
---

## 0.6.0 (2024-06-28)

- Upgrade pyo3 to `v0.22.0` -- had to add signatures to all fns with optional args/kwargs
- Update python dev deps
- Added `{bbox}`, `{projwin}`, `{bbox_web}` and `{projwin_web}` format tokens to tile-formatter (those projwins are handy for gdaling)

___
---

## 0.5.1 (2024-06-19)

- Fixed backpressure issue when `unpyramiding` direcotry to mbtiles; the loading of tiles was happening too fast and could cause memory issues on large tile-pyramids... (this was previously not an issue b/c I would run those jobs on my work machine which had 512gb or ram, but that machine died... RIP titus)
- Write out `metadata.json` when `pyramid-ing` mbtiles to directory if the metadata of the mbtiles does not conatin duplicate keys (which it should not)
- Limit jobs/concurrency when `pyramid-ing` mbtiles to directory to 4 (if not specified by `--jobs`/`-j` option) to prevent nuking machines

___
---

## 0.5.0 (2024-06-14)

Expand Down Expand Up @@ -77,7 +76,7 @@ Example:
SELECT * FROM tiles WHERE zoom_level = 10 AND tile_column = 486 AND tile_row = 332;
```

___
---

## 0.4.1 (2024-04-04)

Expand All @@ -90,7 +89,7 @@ ___
- General spring cleaning!
- Hid the `utiles tilejson` cli alias `trader-joes`

___
---

## 0.3.1 (2024-01-30)

Expand All @@ -100,7 +99,7 @@ ___

- Expanded utiles cli with several more commands

___
---

## 0.2.0 (2023-11-10)

Expand All @@ -109,15 +108,15 @@ ___
- Added tilejson/tj command to rust cli to write out tilejson files for mbtiles
- Added meta command to rust cli to write out json of metadata table for mbtiles

___
---

## 0.1.0 (2023-10-27)

- Drop python 3.7 (was good knowing you)
- Update pyo3 to 0.20.0
- Added rasterio/rio entry points ('utiles' and 'ut' alias bc why type `rio utiles` over `rio ut`)

___
---

## 0.0.2

Expand Down
Loading

0 comments on commit 5eeab5a

Please sign in to comment.