generated from kamangir/blue-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
90 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 🌐 QGIS | ||
|
||
🌐 an AI terraform for [QGIS](https://www.qgis.org/). | ||
|
||
```bash | ||
pip install blue-geo | ||
``` | ||
|
||
```bash | ||
> QGIS help | ||
QGIS seed [screen] | ||
. seed 🌱 QGIS. | ||
QGIS expressions pull | ||
. pull QGIS expressions. | ||
QGIS expressions push [push] | ||
. push QGIS expressions. | ||
📂 /Users/kamangir/Library/Application Support/QGIS/QGIS3/profiles/default/python/expressions | ||
📂 /Users/kamangir/git/blue-geo/blue_geo/QGIS/expressions | ||
QGIS serve[r] [start] | ||
. start QGIS server. | ||
``` | ||
|
||
to terraform QGIS, generate the seed 🌱, | ||
|
||
```bash | ||
QGIS seed | ||
``` | ||
|
||
and paste it in the Python Console in QGIS. | ||
|
||
![image](https://github.com/kamangir/assets/blob/main/blue-geo/QGIS-python-console.png?raw=true) | ||
|
||
![image](https://github.com/kamangir/assets/blob/main/blue-geo/QGIS.png?raw=true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# ukraine-timemap 🇺🇦 | ||
|
||
`ukraine-timemap` ingests the [Bellingcat](https://www.bellingcat.com/) [Civilian Harm in Ukraine TimeMap](https://github.com/bellingcat/ukraine-timemap) dataset, available through [this UI](https://ukraine.bellingcat.com/) and [this API](https://bellingcat-embeds.ams3.cdn.digitaloceanspaces.com/production/ukr/timemap/api.json), and generates a `geojson`, a QGIS project, and more. | ||
|
||
```bash | ||
pip install blue-geo | ||
``` | ||
|
||
```bash | ||
> ukraine_timemap help | ||
ukraine_timemap browse \ | ||
[dataset|github] | ||
. browse ukraine-timemap. | ||
ukraine_timemap ingest \ | ||
[dryrun,~upload] \ | ||
[-|<object-name>] \ | ||
[--verbose 1] | ||
. ingest the latest dataset from https://github.com/bellingcat/ukraine-timemap. | ||
``` | ||
|
||
example use, | ||
|
||
``` | ||
@select ukraine-timemap-$(@@timestamp) | ||
ukraine_timemap ingest - . --verbose 1 | ||
@open . QGIS | ||
@publish tar . | ||
``` | ||
|
||
![image](https://github.com/kamangir/assets/blob/main/nbs/ukraine-timemap/ingest_log.png?raw=true) | ||
|
||
latest ingested object: [ukraine-timemap.tar.gz](https://kamangir-public.s3.ca-central-1.amazonaws.com/ukraine_timemap.tar.gz), sandbox: [ukraine-timemap/sandbox.ipynb](./notebooks/ukraine-timemap/sandbox.ipynb). | ||
|
||
last build [🔗](https://kamangir-public.s3.ca-central-1.amazonaws.com/ukraine_timemap/ukraine_timemap.png) | ||
|
||
![image](https://kamangir-public.s3.ca-central-1.amazonaws.com/ukraine_timemap/ukraine_timemap.png) | ||
|
||
![image](https://github.com/kamangir/assets/blob/main/nbs/ukraine-timemap/QGIS.png?raw=true) | ||
|
||
more: https://arash-kamangir.medium.com/%EF%B8%8F-openai-experiments-93-bf0cee062693 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,7 @@ | |
NAME: [ | ||
"config.env", | ||
".abcli/**/*.sh", | ||
"**/README.md", | ||
], | ||
}, | ||
) | ||
|
||
|