๐Ÿ› ๏ธ OpenAI experiments โ€” 100

Arash Kamangir
2 min readJun 15, 2024

--

Next,

HTML overlay โœ… ๐Ÿ”— โœ… id โœ… description โœ… date โœ…

https://ukraine.bellingcat.com/?id=<id>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
body {
min-width: 400px;
}
</style>
</head>
<body>
[% ukraine_timemap_display( "id", "description", "date") %]
</body>
</html>
from qgis.core import *
from qgis.gui import *


@qgsfunction(args="auto", group="Custom", referenced_columns=[])
def ukraine_timemap_display(id, description, date, feature, parent):
"""
produce display text for a ukraine_timemap mapid.

ukraine_timemap_display(
"id",
"description",
"date",
)
"""
version = "1.7.1"

return "<hr/>".join(
[
description,
'{} : #<a href="https://ukraine.bellingcat.com/?id={}">{}</a>'.format(
date.toString("yyyy-MM-dd"),
id,
id,
),
f"๐Ÿ‡บ๐Ÿ‡ฆ ukraine timemap template {version}",
]
)
QGIS expressions help
QGIS expressions push
QGIS expressions pull
ukraine_timemap ingest - ukraine-timemap-template-v11 open

update config.env += ukraine-timemap-template-v11 โœ…

QGIS expressions push
QGIS expressions pull

template += project.name. โœ…

ukraine_timemap ingest - - open

update the template to ukraine-timemap-2024โ€“06โ€“15โ€“61639 โœ… validate โœ…

continues.

--

--