From cc58d2fb34d10aa406abfc2a59f09e3b302ff6b0 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Wed, 16 Aug 2023 14:55:13 -0600 Subject: [PATCH] fix: more doc updates and drop apt update from yml --- .github/workflows/wiki.yml | 1 - docs/json.md | 18 ++++-------------- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml index 2bea49d..f1b214b 100644 --- a/.github/workflows/wiki.yml +++ b/.github/workflows/wiki.yml @@ -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 . diff --git a/docs/json.md b/docs/json.md index 3b1894e..e0cec5d 100644 --- a/docs/json.md +++ b/docs/json.md @@ -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. @@ -75,9 +70,4 @@ This config file is for highway extracts. } } }, - "geometryType": [ - "point", - "Line", - "polygon" - ] }