diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index df734d6..ddc225c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: diff --git a/docs/schemas/mapfile-schema-7-6.json b/docs/schemas/mapfile-schema-7-6.json index 887c0c8..d279259 100644 --- a/docs/schemas/mapfile-schema-7-6.json +++ b/docs/schemas/mapfile-schema-7-6.json @@ -8,12 +8,6 @@ "__type__": { "type": "string" }, - "angle": { - "default": 0, - "maximum": 360, - "minimum": -360, - "type": "number" - }, "config": { "additionalProperties": true, "properties": { diff --git a/mappyfile.pyproj b/mappyfile.pyproj index 8949cec..5655df3 100644 --- a/mappyfile.pyproj +++ b/mappyfile.pyproj @@ -154,8 +154,8 @@ PROJ_LIB=C:\MapServer\bin\proj\SHARE Code - + diff --git a/mappyfile/schemas/TOCHECK.txt b/mappyfile/schemas/TOCHECK.txt index 2e62e99..2b43dfa 100644 --- a/mappyfile/schemas/TOCHECK.txt +++ b/mappyfile/schemas/TOCHECK.txt @@ -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? @@ -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) @@ -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 \ No newline at end of file