Skip to content

Commit

Permalink
Test schema update
Browse files Browse the repository at this point in the history
  • Loading branch information
geographika committed Feb 22, 2022
1 parent 03f8cb4 commit 0fb89c6
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" # user id of the Github Actions account/bot
git config --local user.name "github-actions[bot]"
git commit -m "Update schemas" -a
git diff-index --quiet HEAD || git commit -m "Update schemas" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
Expand Down
6 changes: 0 additions & 6 deletions docs/schemas/mapfile-schema-7-6.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@
"__type__": {
"type": "string"
},
"angle": {
"default": 0,
"maximum": 360,
"minimum": -360,
"type": "number"
},
"config": {
"additionalProperties": true,
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion mappyfile.pyproj
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ PROJ_LIB=C:\MapServer\bin\proj\SHARE
<Content Include="docs\rules.rst">
<SubType>Code</SubType>
</Content>
<Content Include="docs\schema.txt" />
<Content Include="docs\schemas.rst" />
<Content Include="docs\schemas\mapfile-latest.json" />
<Content Include="docs\schemas\mapfile-schema-7-6.json" />
<Content Include="docs\schemas\mapfile-schema-8-0.json" />
<Content Include="docs\testing.rst" />
Expand Down
19 changes: 0 additions & 19 deletions mappyfile/schemas/TOCHECK.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ http://mapserver.org/mapfile/cluster.html
Should be expression only
FILTER [string]

Also CLUSTER not in alphabetical order

http://mapserver.org/mapfile/label.html
PRIORITY [integer]|[item_name]|[attribute]
What is item_name? Same as attribute?
Expand Down Expand Up @@ -35,21 +33,6 @@ Both missing?
http://mapserver.org/mapfile/layer.html
FILTER should also have expression as an option

DUMP [true|false] but also ON OFF in tests.
msautotest\gdal\tileindexmixedsrs4.map


http://mapserver.org/mapfile/class.html
No TITLE keyword

msautotest\wxs\wms_legend.map

CLASS
NAME "Roads 2 74"
TITLE "Roads 2 74"
EXPRESSION "74"


For expressions, is this valid?

EXPRESSION (true)
Expand All @@ -70,6 +53,4 @@ TRANSPARENT - http://mapserver.org/mapfile/outputformat.html

INCLUDEs must be in quotes or end of file errors in MapServer

CLUSTER schema - http://mapserver.org/mapfile/cluster.html#mapfile-parameters need to add

GetLegendGraphic - need CLASS name for it to appear

0 comments on commit 0fb89c6

Please sign in to comment.