-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
28,113 additions
and
582 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Build and Deploy Staging Instance | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build-deploy: | ||
if: github.repository == 'openstreetmap/id-tagging-schema' | ||
runs-on: ubuntu-latest | ||
environment: staging | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
# install and build development version of id-tagging-schema | ||
- run: npm clean-install | ||
- run: npm run translations | ||
env: | ||
transifex_password: ${{secrets.TX_TOKEN}} | ||
if: env.transifex_password != null | ||
- run: npm run dist | ||
# install and build development version of iD using freshest version of presets and ELI | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: openstreetmap/id | ||
path: './iD' | ||
- run: npm clean-install | ||
working-directory: './iD' | ||
- run: npm install editor-layer-index | ||
working-directory: './iD' | ||
- run: mkdir dist/data | ||
working-directory: './iD' | ||
- run: npm run imagery | ||
working-directory: './iD' | ||
- run: npm run all | ||
working-directory: './iD' | ||
- run: npm run translations | ||
working-directory: './iD' | ||
env: | ||
transifex_password: ${{secrets.TX_TOKEN}} | ||
if: env.transifex_password != null | ||
- run: mkdir iD/dist/id-tagging-schema && mv dist iD/dist/id-tagging-schema/dist | ||
- run: npm run dist | ||
working-directory: './iD' | ||
env: | ||
ID_PRESETS_CDN_URL: './id-tagging-schema/' | ||
# deploy to netlify | ||
- name: Deploy to Netlify | ||
env: | ||
NETLIFY_AUTH_TOKEN: ${{secrets.NETLIFY_AUTH_TOKEN}} | ||
NETLIFY_SITE_ID: ${{secrets.NETLIFY_SITE_ID}} | ||
run: ./node_modules/.bin/netlify deploy --prod --dir=iD/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"key": "cycle_barrier", | ||
"type": "combo", | ||
"label": "Type", | ||
"customValues": false, | ||
"autoSuggestions": false, | ||
"strings": { | ||
"options": { | ||
"single": "Single", | ||
"double": "Double", | ||
"triple": "Triple", | ||
"diagonal": "Diagonal", | ||
"tilted": "Tilted" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"key": "cycle_barrier:installation", | ||
"type": "combo", | ||
"label": "Installation", | ||
"customValues": false, | ||
"autoSuggestions": false, | ||
"strings": { | ||
"options": { | ||
"fixed": "Fixed", | ||
"openable": "Openable", | ||
"removable": "Removable" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"key": "deflection", | ||
"type": "number", | ||
"label": "Angle", | ||
"increment": 5, | ||
"prerequisiteTag": { | ||
"key": "cycle_barrier", | ||
"value": "diagonal" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"key": "irrigation", | ||
"type": "defaultCheck", | ||
"label": "Center-Pivot Irrigation", | ||
"terms": [ | ||
"central pivot irrigation", | ||
"water wheel", | ||
"circle irrigation" | ||
], | ||
"strings": { | ||
"options": { | ||
"undefined": "No", | ||
"pivot": "Yes" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"key": "maxwidth:physical", | ||
"type": "roadheight", | ||
"label": "Width Limit", | ||
"snake_case": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"key": "opening", | ||
"type": "number", | ||
"label": "Opening Width (Meters)", | ||
"snake_case": false, | ||
"prerequisiteTag": { | ||
"key": "cycle_barrier", | ||
"valueNot": "single" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"key": "overlap", | ||
"type": "number", | ||
"label": "Overlap Width (Meters)", | ||
"snake_case": false, | ||
"prerequisiteTag": { | ||
"key": "cycle_barrier", | ||
"valueNot": "single" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"key": "spacing", | ||
"type": "number", | ||
"label": "Distance Between Barriers (Meters)", | ||
"snake_case": false, | ||
"prerequisiteTag": { | ||
"key": "cycle_barrier", | ||
"valueNot": "single" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.