Skip to content

Commit

Permalink
fix: more doc updates and drop apt update from yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rsavoye committed Aug 16, 2023
1 parent edf2650 commit cc58d2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
1 change: 0 additions & 1 deletion .github/workflows/wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
- name: Push content to wiki
run: |
apt update && apt install -y rsync
rsync -av --delete docs/ tmp_wiki/ --exclude .git
cd tmp_wiki
git add .
Expand Down
18 changes: 4 additions & 14 deletions docs/json.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,15 @@ empty list, this is the equivalant of using *IS NOT NULL* in SQL. If
it has a value instead, then only features with that value are
returned.

## Geometry type
## Centroid

There are 3 supported geomtry types. These map to output geometries
in the database. This is not used by projects other than the Export
Tool.

* point
* line
* polygon
This is true or false on whether the result should only be centroids
of all the geometries. The default is false if this is not present.

# Example

Unlike the [YAML](yaml) format that generates an SQL query, the raw
data API wants this JSON file. This can ben generated however from the
data API wants this JSON file. This can be generated however from the
YAML config file. If used as a config file, an identical version is
generated from the parsed config data. This way it can be used for
both input and output.
Expand Down Expand Up @@ -75,9 +70,4 @@ This config file is for highway extracts.
}
}
},
"geometryType": [
"point",
"Line",
"polygon"
]
}

0 comments on commit cc58d2f

Please sign in to comment.