Skip to content

Commit

Permalink
initial vector data implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dukestep committed Jul 26, 2022
1 parent 936b783 commit 7eb9459
Show file tree
Hide file tree
Showing 10 changed files with 2,175 additions and 2,072 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include README.md LICENSE requirements.txt
recursive-include geomet_mapfile *.inc *.json *.yml *.mcf epsg
recursive-include geomet_mapfile *.inc *.json *.yml *.mcf *.ttf epsg fonts.txt

3,509 changes: 1,707 additions & 1,802 deletions geomet-mapfile-config.yml

Large diffs are not rendered by default.

374 changes: 239 additions & 135 deletions geomet_mapfile/mapfile.py

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions geomet_mapfile/resources/mapserv/class/ALERTES.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"__type__": "class",
"name": "alertes",
"group": "ALERTES",
"expression": "( '[alert_type]' = 'warning' )",
"expression": "( '[properties.alert_type]' = 'warning' )",
"styles": [
{
"__type__": "style",
Expand All @@ -25,7 +25,7 @@
"__type__": "class",
"name": "sous surveillance",
"group": "ALERTES",
"expression": "( '[alert_type]' = 'watch' )",
"expression": "( '[properties.alert_type]' = 'watch' )",
"styles": [
{
"__type__": "style",
Expand All @@ -47,7 +47,7 @@
"__type__": "class",
"name": "veille",
"group": "ALERTES",
"expression": "( '[alert_type]' = 'statement' )",
"expression": "( '[properties.alert_type]' = 'statement' )",
"styles": [
{
"__type__": "style",
Expand All @@ -69,7 +69,7 @@
"__type__": "class",
"name": "bulletin",
"group": "ALERTES",
"expression": "( '[alert_type]' = 'advisory' )",
"expression": "( '[properties.alert_type]' = 'advisory' )",
"styles": [
{
"__type__": "style",
Expand Down
8 changes: 4 additions & 4 deletions geomet_mapfile/resources/mapserv/class/ALERTS.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"__type__": "class",
"name": "warning",
"group": "ALERTS",
"expression": "( '[alert_type]' = 'warning' )",
"expression": "( '[properties.alert_type]' = 'warning' )",
"styles": [
{
"__type__": "style",
Expand All @@ -25,7 +25,7 @@
"__type__": "class",
"name": "watch",
"group": "ALERTS",
"expression": "( '[alert_type]' = 'watch' )",
"expression": "( '[properties.alert_type]' = 'watch' )",
"styles": [
{
"__type__": "style",
Expand All @@ -47,7 +47,7 @@
"__type__": "class",
"name": "statement",
"group": "ALERTS",
"expression": "( '[alert_type]' = 'statement' )",
"expression": "( '[properties.alert_type]' = 'statement' )",
"styles": [
{
"__type__": "style",
Expand All @@ -69,7 +69,7 @@
"__type__": "class",
"name": "advisory",
"group": "ALERTS",
"expression": "( '[alert_type]' = 'advisory' )",
"expression": "( '[properties.alert_type]' = 'advisory' )",
"styles": [
{
"__type__": "style",
Expand Down
10 changes: 5 additions & 5 deletions geomet_mapfile/resources/mapserv/class/WEATHER.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
"__type__": "class",
"name": "Single symbol",
"maxscaledenom": 10000000,
"expression": "( \"[temp]\" ~ \"[0-9]$\" )",
"expression": "( \"[properties.temp]\" ~ \"[0-9]$\" )",
"labels": [
{
"__type__": "label",
"font": "arial",
"type": "TRUETYPE",
"text": "[temp]\u00b0C",
"text": "[properties.temp]\u00b0C",
"size": 9,
"position": "cr",
"styles": [
{
"__type__": "style",
"symbol": "[icon]",
"symbol": "[properties.icon]",
"size": 25
}
]
Expand All @@ -26,7 +26,7 @@
"__type__": "class",
"name": "Single symbol",
"minscaledenom": 10000000,
"expression": "( \"[temp]\" ~ \"[0-9]$\" )",
"expression": "( \"[properties.temp]\" ~ \"[0-9]$\" )",
"labels": [
{
"__type__": "label",
Expand All @@ -36,7 +36,7 @@
"styles": [
{
"__type__": "style",
"symbol": "[icon]",
"symbol": "[properties.icon]",
"size": 25
}
]
Expand Down
Loading

0 comments on commit 7eb9459

Please sign in to comment.