@arcgis/coding-components 4.32.0-next.5 → 4.32.0-next.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +123 -125
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +121 -123
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +122 -124
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +122 -124
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +34 -20
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +34 -21
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +34 -21
- package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +38 -38
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ar.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.bg.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.bs.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ca.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.cs.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.da.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.de.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.el.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.es.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.et.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.fi.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.fr.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.he.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.hr.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.hu.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.id.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.it.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ja.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ko.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.lt.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.lv.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.nb.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.nl.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.pl.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.pt-BR.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.pt-PT.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ro.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ru.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sk.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sl.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sr.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sv.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.th.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.tr.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.uk.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.vi.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.zh-CN.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.zh-HK.json +7 -7
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.zh-TW.json +7 -7
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.ar.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.bg.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.bs.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.ca.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.cs.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.da.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.de.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.el.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.es.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.et.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.fi.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.fr.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.he.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.hr.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.hu.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.id.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.it.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.ja.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.ko.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.lt.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.lv.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.nb.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.nl.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.pl.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.pt-BR.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.pt-PT.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.ro.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.ru.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.sk.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.sl.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.sr.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.sv.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.th.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.tr.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.uk.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.vi.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.zh-CN.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.zh-HK.json +6 -6
- package/dist/arcgis-coding-components/assets/language-api-panel/t9n/language-api-panel.t9n.zh-TW.json +6 -6
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.ar.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.bg.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.bs.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.ca.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.cs.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.da.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.de.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.el.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.es.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.et.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.fi.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.fr.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.he.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.hr.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.hu.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.id.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.it.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.ja.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.ko.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.lt.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.lv.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.nb.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.nl.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.pl.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.pt-BR.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.pt-PT.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.ro.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.ru.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.sk.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.sl.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.sr.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.sv.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.th.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.tr.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.uk.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.vi.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.zh-CN.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.zh-HK.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-editor/t9n/sql-expression-editor.t9n.zh-TW.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.ar.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.bg.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.bs.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.ca.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.cs.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.da.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.de.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.el.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.es.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.et.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.fi.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.fr.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.he.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.hr.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.hu.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.id.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.it.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.ja.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.ko.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.lt.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.lv.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.nb.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.nl.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.pl.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.pt-BR.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.pt-PT.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.ro.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.ru.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.sk.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.sl.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.sr.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.sv.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.th.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.tr.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.uk.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.vi.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.zh-CN.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.zh-HK.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-expression-fields/t9n/sql-expression-fields.t9n.zh-TW.json +2 -2
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ar.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bg.json +300 -300
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bs.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ca.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.cs.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.da.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.de.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.el.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.en.json +4 -4
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.es.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.et.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fi.json +271 -271
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fr.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.he.json +271 -271
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hr.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hu.json +300 -300
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.id.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.it.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ja.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ko.json +300 -300
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lt.json +300 -300
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lv.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.nl.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.no.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pl.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-BR.json +300 -300
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-PT.json +300 -300
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ro.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ru.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sk.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sl.json +300 -300
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sr.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sv.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.th.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.tr.json +271 -271
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.uk.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.vi.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-CN.json +271 -271
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-HK.json +271 -271
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-TW.json +271 -271
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-c99a31a5.entry.js → p-0c17135b.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-39e2fdea.js → p-24f890bf.js} +2 -2
- package/dist/arcgis-coding-components/{p-53526148.entry.js → p-3113875c.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-73d50e62.entry.js → p-33d6aaf0.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-58d32dde.js → p-3cf55502.js} +2 -2
- package/dist/arcgis-coding-components/{p-4e81604b.js → p-4ce49d27.js} +1 -1
- package/dist/arcgis-coding-components/{p-55c6f0bc.js → p-53b2ac36.js} +2 -2
- package/dist/arcgis-coding-components/{p-175d37ff.js → p-6be487e8.js} +1 -1
- package/dist/arcgis-coding-components/{p-baf94d77.js → p-816013df.js} +2 -2
- package/dist/arcgis-coding-components/{p-142abb7b.js → p-81c5b00f.js} +3 -3
- package/dist/arcgis-coding-components/{p-2923c1b9.js → p-8463911d.js} +2 -2
- package/dist/arcgis-coding-components/{p-b3a70a68.js → p-861b6527.js} +1 -1
- package/dist/arcgis-coding-components/{p-6839191c.js → p-99657380.js} +2 -2
- package/dist/arcgis-coding-components/{p-f246505f.js → p-9c3057d5.js} +2 -2
- package/dist/arcgis-coding-components/{p-f2b45a2a.js → p-c4ea5efc.js} +2 -2
- package/dist/arcgis-coding-components/{p-7b210fc7.js → p-d6b8ecdd.js} +10 -10
- package/dist/arcgis-coding-components/{p-81ade418.js → p-e1030b43.js} +2 -2
- package/dist/arcgis-coding-components/{p-89327af7.js → p-ed6a9086.js} +2 -2
- package/dist/cjs/{app-globals-d3f7282a.js → app-globals-7e1a181c.js} +1 -1
- package/dist/cjs/{arcade-defaults-b8c5f195.js → arcade-defaults-ca41aca4.js} +3 -3
- package/dist/cjs/{arcade-mode-63ae046d.js → arcade-mode-5c56ad74.js} +3 -3
- package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
- package/dist/cjs/{css-8ec949a7.js → css-b27804ec.js} +1 -1
- package/dist/cjs/{cssMode-6df8320d.js → cssMode-a722d893.js} +3 -3
- package/dist/cjs/{html-b2ed7971.js → html-3f244c1b.js} +3 -3
- package/dist/cjs/{htmlMode-b1396ba5.js → htmlMode-fa02dea3.js} +3 -3
- package/dist/cjs/{index-d2ffa5d3.js → index-36a52994.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-542a8853.js → javascript-8c5e1872.js} +4 -4
- package/dist/cjs/{jsonMode-e1c9a20b.js → jsonMode-1eac0246.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{sql-expr-defaults-6ffccbda.js → sql-expr-defaults-88ac3ce6.js} +17 -17
- package/dist/cjs/{sql-expr-mode-85d73267.js → sql-expr-mode-26a714bf.js} +3 -3
- package/dist/cjs/{tsMode-959c2eee.js → tsMode-2c869e9f.js} +3 -3
- package/dist/cjs/{typescript-3483c62e.js → typescript-6dc90322.js} +3 -3
- package/dist/cjs/{useT9n-accb62b8.js → useT9n-ec36c8a3.js} +3 -3
- package/dist/components/arcade-defaults.js +1 -1
- package/dist/components/arcade-mode.js +1 -1
- package/dist/components/arcade-results.js +1 -1
- package/dist/components/arcade-suggestions.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +1 -1
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-assets.d.ts +1 -1
- package/dist/components/arcgis-assets.js +1 -1
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/arcgis-editor-variables.js +1 -1
- package/dist/components/arcgis-language-api-panel.js +1 -1
- package/dist/components/arcgis-sql-expression-editor.js +1 -1
- package/dist/components/arcgis-sql-expression-fields.js +1 -1
- package/dist/components/code-editor.js +1 -1
- package/dist/components/editor-variables.js +1 -1
- package/dist/components/fields.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/language-api-panel.js +1 -1
- package/dist/components/markdown.js +1 -1
- package/dist/components/sql-expr-defaults.js +8 -8
- package/dist/components/sql-expr-mode.js +1 -1
- package/dist/components/useT9n.js +1 -1
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{app-globals-2d542cdb.js → app-globals-113b06a7.js} +1 -1
- package/dist/esm/{arcade-defaults-4ecd28be.js → arcade-defaults-4925452e.js} +3 -3
- package/dist/esm/{arcade-mode-72b22f4b.js → arcade-mode-c8156c45.js} +3 -3
- package/dist/esm/arcgis-arcade-editor_6.entry.js +7 -7
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/arcgis-sql-expression-editor.entry.js +4 -4
- package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
- package/dist/esm/{css-cd6c7b23.js → css-33737ccc.js} +1 -1
- package/dist/esm/{cssMode-0f17882d.js → cssMode-e9628d62.js} +3 -3
- package/dist/esm/{html-c5bc32f5.js → html-71553525.js} +3 -3
- package/dist/esm/{htmlMode-b5a9d4c2.js → htmlMode-603a9bb0.js} +3 -3
- package/dist/esm/{index-564c44e5.js → index-94a9916f.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-ab12fd5b.js → javascript-29475653.js} +4 -4
- package/dist/esm/{jsonMode-4e5853ea.js → jsonMode-f26792e6.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{sql-expr-defaults-76d3b604.js → sql-expr-defaults-25926b16.js} +17 -17
- package/dist/esm/{sql-expr-mode-1eeb4f22.js → sql-expr-mode-7bf6db66.js} +3 -3
- package/dist/esm/{tsMode-7bd26cef.js → tsMode-66506404.js} +3 -3
- package/dist/esm/{typescript-fd3dbb56.js → typescript-6e219ff1.js} +3 -3
- package/dist/esm/{useT9n-914f4685.js → useT9n-b76be071.js} +3 -3
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/package.json +10 -81
|
@@ -108,8 +108,8 @@
|
|
|
108
108
|
"name": "textformatting.newline",
|
|
109
109
|
"bundle": "core",
|
|
110
110
|
"link": "https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.newline",
|
|
111
|
-
"description": "將新行或分行符號插入文字中。 ArcGIS API 3.x for JavaScript
|
|
112
|
-
"examples": "\n##### 範例\n\n
|
|
111
|
+
"description": "將新行或分行符號插入文字中。 試_Multi-line labels are **NOT** supported in the ArcGIS API 3.x for JavaScript nor in the ArcGIS Online Map Viewer Classic______________________________________________________________驗.",
|
|
112
|
+
"examples": "\n##### 範例\n\n試_Returns \"T2N_______________驗 \n試_R1W\"_________驗\n\n```arcade\n\"T\" + $feature.TOWNSHIP + TextFormatting.NewLine + \"R\" + $feature.RANGE\n```\n\n",
|
|
113
113
|
"completion": {
|
|
114
114
|
"label": "TextFormatting.NewLine",
|
|
115
115
|
"detail": "TextFormatting.NewLine",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"kind": 21,
|
|
120
120
|
"documentation": {
|
|
121
121
|
"kind": "markdown",
|
|
122
|
-
"value": "將新行或分行符號插入文字中。 ArcGIS API 3.x for JavaScript
|
|
122
|
+
"value": "將新行或分行符號插入文字中。 試_Multi-line labels are **NOT** supported in the ArcGIS API 3.x for JavaScript nor in the ArcGIS Online Map Viewer Classic______________________________________________________________驗."
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
},
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"kind": 3,
|
|
167
167
|
"documentation": {
|
|
168
168
|
"kind": "markdown",
|
|
169
|
-
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入 FeatureSet 的面積。 這是使用笛卡兒數學的平面測量。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用於計算平面區域的 FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。
|
|
169
|
+
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入 FeatureSet 的面積。 這是使用笛卡兒數學的平面測量。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用於計算平面區域的 FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below_______________________________________________________________驗. 試_For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference____________________________________________________驗. 試_In other profiles, like field calculation, the default is based on the spatial reference of the data_____________________________________________________驗. \n試_Possible values: `acres` | `square-feet` | `hectares` | `square-kilometers` | `square-miles` | `square-nautical-miles` | `square-meters` | `square-yards`______________________________________________________________________________驗\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [AreaGeodetic()](https://developers.arcgis.com/arcade/function-reference/featureset_functions/#areageodetic)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
172
|
"parametersInfo": {
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"kind": 3,
|
|
192
192
|
"documentation": {
|
|
193
193
|
"kind": "markdown",
|
|
194
|
-
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入 FeatureSet 的大地面積。 這是比 `Area()` 更可靠的面積測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用於計算大地面積的 FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。
|
|
194
|
+
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入 FeatureSet 的大地面積。 這是比 `Area()` 更可靠的面積測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用於計算大地面積的 FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below_______________________________________________________________驗. 試_For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference____________________________________________________驗. 試_In other profiles, like field calculation, the default is based on the spatial reference of the data_____________________________________________________驗. \n試_Possible values: `acres` | `square-feet` | `hectares` | `square-kilometers` | `square-miles` | `square-nautical-miles` | `square-meters` | `square-yards`______________________________________________________________________________驗\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [Area()](https://developers.arcgis.com/arcade/function-reference/featureset_functions/#area)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
197
|
"parametersInfo": {
|
|
@@ -248,6 +248,31 @@
|
|
|
248
248
|
"max": 2
|
|
249
249
|
}
|
|
250
250
|
},
|
|
251
|
+
{
|
|
252
|
+
"type": "function",
|
|
253
|
+
"name": "contains",
|
|
254
|
+
"bundle": "data-access",
|
|
255
|
+
"sinceVersion": "1.7",
|
|
256
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#contains",
|
|
257
|
+
"description": "試_Returns features from a FeatureSet that are contained within the input geometry_________________________________________驗. 試_In the graphic below, the red highlight illustrates the spatial relationships where the function will return features____________________________________________________________驗.\n\n試_**Be aware that using `$feature` as input to this function will yield results only as precise as the view's scale resolution________________________________________________________________驗. 試_Therefore values returned from expressions using this function may change after zooming between scales.**______________________________________________________驗",
|
|
258
|
+
"examples": "\n##### 範例\n\n試_Returns the number of features that are within the given polygon_________________________________驗\n\n```arcade\nvar parcels = FeatureSetByName($map, 'parcels')\nvar projectArea = $feature;\nCount(Contains(projectArea, parcels));\n```\n\n",
|
|
259
|
+
"completion": {
|
|
260
|
+
"label": "Contains",
|
|
261
|
+
"detail": "Contains(containerGeometry, insideFeatures) -> FeatureSet",
|
|
262
|
+
"insertText": "Contains(${1:containerGeometry_}, ${2:insideFeatures_})$0",
|
|
263
|
+
"insertTextMode": 2,
|
|
264
|
+
"insertTextFormat": 2,
|
|
265
|
+
"kind": 3,
|
|
266
|
+
"documentation": {
|
|
267
|
+
"kind": "markdown",
|
|
268
|
+
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n試_Returns features from a FeatureSet that are contained within the input geometry_________________________________________驗. 試_In the graphic below, the red highlight illustrates the spatial relationships where the function will return features____________________________________________________________驗.\n\n試_**Be aware that using `$feature` as input to this function will yield results only as precise as the view's scale resolution________________________________________________________________驗. 試_Therefore values returned from expressions using this function may change after zooming between scales.**______________________________________________________驗\n\n**參數**\n\n- **containerGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 試_The geometry that is tested for the 'contains' relationship to `insideFeatures`_________________________________________驗. 試_Think of this geometry as the potential 'container' of the `insideFeatures`_______________________________________驗.\n- **insideFeatures**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 試_The FeatureSet that is tested for the 'within' relationship to the `containerGeometry`_____________________________________________驗.\n\n**返回值**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"parametersInfo": {
|
|
272
|
+
"min": 2,
|
|
273
|
+
"max": 2
|
|
274
|
+
}
|
|
275
|
+
},
|
|
251
276
|
{
|
|
252
277
|
"type": "function",
|
|
253
278
|
"name": "count",
|
|
@@ -439,7 +464,7 @@
|
|
|
439
464
|
"kind": 3,
|
|
440
465
|
"documentation": {
|
|
441
466
|
"kind": "markdown",
|
|
442
|
-
"value": "**[自版本 1.15](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n請求給定 FeatureSet 的其他屬性。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 請求的欄位將附加到的圖徵集。\n- **field1**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 要針對給定圖徵請求的欄位名稱。 僅列出表達式中使用的必要欄位。 如有必要,您可以使用萬用字元 `*` 來請求所有欄位。
|
|
467
|
+
"value": "**[自版本 1.15](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n請求給定 FeatureSet 的其他屬性。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 請求的欄位將附加到的圖徵集。\n- **field1**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 要針對給定圖徵請求的欄位名稱。 僅列出表達式中使用的必要欄位。 如有必要,您可以使用萬用字元 `*` 來請求所有欄位。 但應避免這種情況,防止載入可能對應用程式效能產生負面影響的不必要資料量。 試_This value must be a text literal and cannot be a variable_______________________________驗.\n- **[field2, ..., fieldN]** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 針對給定圖徵請求的欄位名稱的持續清單。 僅列出表達式中使用的必要欄位。 試_These values must be text literals and cannot be variables_______________________________驗.\n\n**返回值**: Null"
|
|
443
468
|
}
|
|
444
469
|
},
|
|
445
470
|
"parametersInfo": {
|
|
@@ -591,7 +616,7 @@
|
|
|
591
616
|
"kind": 3,
|
|
592
617
|
"documentation": {
|
|
593
618
|
"kind": "markdown",
|
|
594
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據給定關係類別的名稱傳回給定圖徵的相關記錄。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 從中擷取相關記錄的圖徵。\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 在資料來源中定義的關係類別的名稱。\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 要在 FeatureSet 中傳回的欄位。 此清單包含關係表和輸入圖徵的欄位。\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指出是否傳回導出之圖徵的幾何。\n\n**返回值**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
619
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據給定關係類別的名稱傳回給定圖徵的相關記錄。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 從中擷取相關記錄的圖徵。\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 在資料來源中定義的關係類別的名稱。\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 要在 FeatureSet 中傳回的欄位。 此清單包含關係表和輸入圖徵的欄位。\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指出是否傳回導出之圖徵的幾何。\n\n**返回值**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)\n\n##### 其他資源\n\n* [Attribute rules and relationship classes](https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/attribute-rules-and-relationship-classes.htm)\n"
|
|
595
620
|
}
|
|
596
621
|
},
|
|
597
622
|
"parametersInfo": {
|
|
@@ -715,7 +740,7 @@
|
|
|
715
740
|
"kind": 3,
|
|
716
741
|
"documentation": {
|
|
717
742
|
"kind": "markdown",
|
|
718
|
-
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 要從中傳回目前地理資料庫版本的 FeatureSe。\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
743
|
+
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 要從中傳回目前地理資料庫版本的 FeatureSe。\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)\n\n##### 其他資源\n\n* [Overview of Versioning](https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/overview-of-versioning-in-arcgis-pro.htm)\n"
|
|
719
744
|
}
|
|
720
745
|
},
|
|
721
746
|
"parametersInfo": {
|
|
@@ -730,7 +755,7 @@
|
|
|
730
755
|
"sinceVersion": "1.14",
|
|
731
756
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#getfeatureset",
|
|
732
757
|
"description": "取得輸入圖徵所屬的 FeatureSet。 傳回的 FeatureSet 表示輸入圖徵的父/根圖層或表格中的所有圖徵。",
|
|
733
|
-
"examples": "\n##### 範例\n\n傳回表示資料來源中所有圖徵的 FeatureSet。\n\n```arcade\n//
|
|
758
|
+
"examples": "\n##### 範例\n\n傳回表示資料來源中所有圖徵的 FeatureSet。\n\n```arcade\n// Assume the data source for the 'Bike routes' layer has 2,000 features \n// and the user creating the map has set a definition expression on the 'Bike routes' layer that filters the layer to 100 features. \nvar fs1 = FeatureSetByName($map, 'Bike routes', ['*'], true);\nvar fs2 = top(fs1, 10) \nvar f = First(fs2)\nGetFeatureSet(f)\n// returns a FeatureSet representing the data source, which does not include the map filter (2,000 features)\n```\n\n傳回圖徵的根 FeatureSet。\n\n```arcade\n// Assume the data source for the 'Bike routes' layer has 2,000 features \n// and the user creating the map has set a definition expression on the 'Bike routes' layer that filters the layer to 100 features. \nvar fs1 = FeatureSetByName($map, 'Bike routes', ['*'], true);\nvar fs2 = top(fs1, 10) \nvar f = First(fs2)\nGetFeatureSet(f, 'root')\n// returns the root FeatureSet, which honors the user's filter from the map (a total of 100 features)\n```\n\n傳回圖徵的父 FeatureSet。\n\n```arcade\n// Assume the data source for the 'Bike routes' layer has 2,000 features \n// and the user creating the map has set a definition expression on the 'Bike routes' layer that filters the layer to 100 features. \nvar fs1 = FeatureSetByName($map, 'Bike routes', ['*'], true);\nvar fs2 = top(fs1, 10) \nvar f = First(fs2)\nGetFeatureSet(f, 'parent')\n// returns the parent FeatureSet, which is the result of the top function \n// (a total of 10 features)\n```\n\n傳回資料來源表中圖徵 1 英哩內的圖徵數量。\n\n```arcade\nvar fullFeatureSet = GetFeatureSet($feature);\nvar featuresOneMile = Intersects(fullFeatureSet, BufferGeodetic($feature, 1, 'miles'))\nCount(featuresOneMile)\n```\n\n",
|
|
734
759
|
"completion": {
|
|
735
760
|
"label": "GetFeatureSet",
|
|
736
761
|
"detail": "GetFeatureSet(inputFeature, source?) -> FeatureSet",
|
|
@@ -892,7 +917,7 @@
|
|
|
892
917
|
"kind": 3,
|
|
893
918
|
"documentation": {
|
|
894
919
|
"kind": "markdown",
|
|
895
|
-
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入 FeatureSet 的長度。 這是使用笛卡兒數學的平面測量。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用於計算平面長度的 FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。
|
|
920
|
+
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入 FeatureSet 的長度。 這是使用笛卡兒數學的平面測量。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用於計算平面長度的 FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below_______________________________________________________________驗. 試_For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference____________________________________________________驗. 試_In other profiles, like field calculation, the default is based on the spatial reference of the data_____________________________________________________驗. \n試_Possible values: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`_____________________________________________驗\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [LengthGeodetic()](https://developers.arcgis.com/arcade/function-reference/featureset_functions/#lengthgeodetic)\n* [Length3d()](https://developers.arcgis.com/arcade/function-reference/featureset_functions/#length3d)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
896
921
|
}
|
|
897
922
|
},
|
|
898
923
|
"parametersInfo": {
|
|
@@ -917,7 +942,7 @@
|
|
|
917
942
|
"kind": 3,
|
|
918
943
|
"documentation": {
|
|
919
944
|
"kind": "markdown",
|
|
920
|
-
"value": "**[自版本 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n考量高度或 Z 資訊,傳回輸入 FeatureSet 的平面 (即笛卡兒) 長度。 必須為提供給此函數的幾何指派一個投影座標系統。 如果空間參考未提供 Z 單位的值,則將以公尺為單位傳回結果。 請注意,即使資料包含 Z 資訊, 並非所有用戶端 (例如 ArcGIS API for JavaScript 的 3.x 系列) 都支援請求 Z 值。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 在 3D 空間中用於計算平面長度的 FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。
|
|
945
|
+
"value": "**[自版本 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n考量高度或 Z 資訊,傳回輸入 FeatureSet 的平面 (即笛卡兒) 長度。 必須為提供給此函數的幾何指派一個投影座標系統。 如果空間參考未提供 Z 單位的值,則將以公尺為單位傳回結果。 請注意,即使資料包含 Z 資訊, 並非所有用戶端 (例如 ArcGIS API for JavaScript 的 3.x 系列) 都支援請求 Z 值。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 在 3D 空間中用於計算平面長度的 FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below_______________________________________________________________驗. 試_For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference____________________________________________________驗. 試_In other profiles, like field calculation, the default is based on the spatial reference of the data_____________________________________________________驗. \n試_Possible values: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`_____________________________________________驗\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [LengthGeodetic()](https://developers.arcgis.com/arcade/function-reference/featureset_functions/#lengthgeodetic)\n* [Length()](https://developers.arcgis.com/arcade/function-reference/featureset_functions/#length)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
921
946
|
}
|
|
922
947
|
},
|
|
923
948
|
"parametersInfo": {
|
|
@@ -942,7 +967,7 @@
|
|
|
942
967
|
"kind": 3,
|
|
943
968
|
"documentation": {
|
|
944
969
|
"kind": "markdown",
|
|
945
|
-
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入 FeatureSet 的大地長度。 這是比 `Length()` 更可靠的長度測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用於計算大地長度的 FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。
|
|
970
|
+
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入 FeatureSet 的大地長度。 這是比 `Length()` 更可靠的長度測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 用於計算大地長度的 FeatureSet。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below_______________________________________________________________驗. 試_For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference____________________________________________________驗. 試_In other profiles, like field calculation, the default is based on the spatial reference of the data_____________________________________________________驗. \n試_Possible values: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`_____________________________________________驗\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [Length()](https://developers.arcgis.com/arcade/function-reference/featureset_functions/#length)\n* [Length3d()](https://developers.arcgis.com/arcade/function-reference/featureset_functions/#length3d)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
946
971
|
}
|
|
947
972
|
},
|
|
948
973
|
"parametersInfo": {
|
|
@@ -1348,7 +1373,7 @@
|
|
|
1348
1373
|
"kind": 3,
|
|
1349
1374
|
"documentation": {
|
|
1350
1375
|
"kind": "markdown",
|
|
1351
|
-
"value": "**[自版本 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n提供有關執行 Arcade 表達式的內容和環境的資訊。\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回包含以下屬性的字典。 傳回的屬性可能因執行 Arcade 表達式的位置而異,因此建議使用 `HasValue` 函數以確保存在所需的環境屬性。\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade 版本。 有關版本化的詳細資訊,請參閱 Arcade 版本矩陣。\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的引擎。 可能的值: `web`、`native`、`jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的引擎版本。 有關版本化的詳細資訊,請參閱 Arcade 版本矩陣。\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的應用程式。 由應用程式開發者設定此值。 因此,此屬性可能為空,具體取決於執行表達式的應用程式。\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用戶端或系統的區域設定。\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Arcade 上下文的空間參考。\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 空間參考的已知 ID。\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _自 1.24 開始_ 表達式的執行內容的預設時區。
|
|
1376
|
+
"value": "**[自版本 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n提供有關執行 Arcade 表達式的內容和環境的資訊。\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回包含以下屬性的字典。 傳回的屬性可能因執行 Arcade 表達式的位置而異,因此建議使用 `HasValue` 函數以確保存在所需的環境屬性。\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade 版本。 有關版本化的詳細資訊,請參閱 Arcade 版本矩陣。\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的引擎。 可能的值: `web`、`native`、`jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的引擎版本。 有關版本化的詳細資訊,請參閱 Arcade 版本矩陣。\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 執行 Arcade 表達式的應用程式。 由應用程式開發者設定此值。 因此,此屬性可能為空,具體取決於執行表達式的應用程式。\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用戶端或系統的區域設定。\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Arcade 上下文的空間參考。\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 空間參考的已知 ID。\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _自 1.24 開始_ 表達式的執行內容的預設時區。 如果未另外指定時區,則在建構和顯示日期值時使用此值。\n\n##### 其他資源\n\n* [Arcade profiles and execution context](https://developers.arcgis.com/arcade/guide/profiles/)\n* [Arcade version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/)\n* [HasValue()](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue)\n"
|
|
1352
1377
|
}
|
|
1353
1378
|
},
|
|
1354
1379
|
"parametersInfo": {
|
|
@@ -1476,8 +1501,8 @@
|
|
|
1476
1501
|
"bundle": "core",
|
|
1477
1502
|
"sinceVersion": "1.26",
|
|
1478
1503
|
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
1479
|
-
"description": "
|
|
1480
|
-
"examples": "\n##### 範例\n\
|
|
1504
|
+
"description": "如果圖徵中的欄位名稱不存在或指定欄位的值為 `null` 或空白文字值,則傳回指定的預設值。",
|
|
1505
|
+
"examples": "\n##### 範例\n\n如果圖徵屬性不存在或為空,則傳回「n/a」\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
1481
1506
|
"completion": {
|
|
1482
1507
|
"label": "DefaultValue",
|
|
1483
1508
|
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
@@ -1487,7 +1512,7 @@
|
|
|
1487
1512
|
"kind": 3,
|
|
1488
1513
|
"documentation": {
|
|
1489
1514
|
"kind": "markdown",
|
|
1490
|
-
"value": "**[自版本 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
1515
|
+
"value": "**[自版本 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n如果圖徵中的欄位名稱不存在或指定欄位的值為 `null` 或空白文字值,則傳回指定的預設值。\n\n**參數**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 要檢查的輸入圖徵。\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 要檢查的欄位名稱。\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - 如果欄位名稱不存在或指定欄位的值為 `null` 或空文字值,則傳回此值。\n\n**返回值**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \n傳回指定欄位的值 (如果定義)。 否則傳回 `defaultValue` 中指定的值。"
|
|
1491
1516
|
}
|
|
1492
1517
|
},
|
|
1493
1518
|
"parametersInfo": {
|
|
@@ -1576,7 +1601,7 @@
|
|
|
1576
1601
|
"bundle": "core",
|
|
1577
1602
|
"sinceVersion": "1.15",
|
|
1578
1603
|
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#expects",
|
|
1579
|
-
"description": "請求給定圖徵的其他屬性。 在某些設定檔 (例如視覺化和標籤) 中,應用程式僅請求渲染每個圖徵或標籤所需的資料屬性。 某些表達式使用變數而非文字常值來動態參考欄位名稱。 這使得渲染和標示引擎難以偵測渲染所需的欄位。 此函數能讓您將必填欄位明確指示為清單。 您還可以使用萬用字元來請求全部欄位或欄位子集。 由於表達式會基於每個圖徵執行,因此應謹慎使用萬用字元,尤其是在包含許多圖徵的圖層中。
|
|
1604
|
+
"description": "請求給定圖徵的其他屬性。 在某些設定檔 (例如視覺化和標籤) 中,應用程式僅請求渲染每個圖徵或標籤所需的資料屬性。 某些表達式使用變數而非文字常值來動態參考欄位名稱。 這使得渲染和標示引擎難以偵測渲染所需的欄位。 此函數能讓您將必填欄位明確指示為清單。 您還可以使用萬用字元來請求全部欄位或欄位子集。 由於表達式會基於每個圖徵執行,因此應謹慎使用萬用字元,尤其是在包含許多圖徵的圖層中。 試_Requesting too much data can result in poor app performance_______________________________驗.",
|
|
1580
1605
|
"examples": "\n##### 範例\n\n渲染器不易偵測到的請求欄位\n\n```arcade\n// Request multiple years of population data if the\n// fields cannot be easily detected by the renderer or labels\nExpects($feature, 'POP_2020', 'POP_2010')\nvar thisYear = 2020;\nvar lastDecade = thisYear - 10;\nreturn $feature['POP_'+thisYear] - $feature['POP_'+lastDecade]\n```\n\n請求與欄位名稱中的模式符合的所有資料\n\n```arcade\n// Request all the data beginning with 'POP'. This is\n// necessary because the renderer can't easily detect\n// the required fields based on this expression\nExpects($feature, 'POP*')\n\nvar startYear = 1880;\nvar endYear = 2020;\nvar changes = [];\n\nfor(var y=startYear; y<endYear; y+=10){\n var startPop = $feature['POP_' + y];\n var endPop = $feature['POP_' + (y+10)];\n var change = endPop - startPop;\n Push(changes, change);\n}\nMax(changes);\n```\n\n請求圖徵的所有資料\n\n```arcade\n// Request all fields because the required fields may\n// be based on unknown information like a relative date\nExpects($feature, '*')\n\nvar casesToday = $feature[ 'CASES_' + Text(d, 'MM_DD_Y') ];\nvar casesYesterday = $feature[ 'CASES_' + Text(DateAdd( Today(), -1, 'days', 'MM_DD_Y') ];\n// Change in cases from yesterday\nreturn casesToday - casesYesterday;\n```\n\n",
|
|
1581
1606
|
"completion": {
|
|
1582
1607
|
"label": "Expects",
|
|
@@ -1587,7 +1612,7 @@
|
|
|
1587
1612
|
"kind": 3,
|
|
1588
1613
|
"documentation": {
|
|
1589
1614
|
"kind": "markdown",
|
|
1590
|
-
"value": "**[自版本 1.15](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n請求給定圖徵的其他屬性。 在某些設定檔 (例如視覺化和標籤) 中,應用程式僅請求渲染每個圖徵或標籤所需的資料屬性。 某些表達式使用變數而非文字常值來動態參考欄位名稱。 這使得渲染和標示引擎難以偵測渲染所需的欄位。 此函數能讓您將必填欄位明確指示為清單。 您還可以使用萬用字元來請求全部欄位或欄位子集。 由於表達式會基於每個圖徵執行,因此應謹慎使用萬用字元,尤其是在包含許多圖徵的圖層中。
|
|
1615
|
+
"value": "**[自版本 1.15](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n請求給定圖徵的其他屬性。 在某些設定檔 (例如視覺化和標籤) 中,應用程式僅請求渲染每個圖徵或標籤所需的資料屬性。 某些表達式使用變數而非文字常值來動態參考欄位名稱。 這使得渲染和標示引擎難以偵測渲染所需的欄位。 此函數能讓您將必填欄位明確指示為清單。 您還可以使用萬用字元來請求全部欄位或欄位子集。 由於表達式會基於每個圖徵執行,因此應謹慎使用萬用字元,尤其是在包含許多圖徵的圖層中。 試_Requesting too much data can result in poor app performance_______________________________驗.\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 請求的欄位將附加到的圖徵。\n- **field1**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 要針對給定圖徵請求的欄位名稱。 僅列出表達式中使用的必要欄位。 如有必要,您可以使用萬用字元 `*` 來請求所有欄位。 但應避免這種情況,防止載入可能對應用程式效能產生負面影響的不必要資料量。 試_This value must be a text literal and cannot be a variable_______________________________驗.\n- **[field2, ..., fieldN]** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 針對給定圖徵請求的欄位名稱的持續清單。 僅列出表達式中使用的必要欄位。 試_These values must be text literals and cannot be variables_______________________________驗.\n\n**返回值**: Null"
|
|
1591
1616
|
}
|
|
1592
1617
|
},
|
|
1593
1618
|
"parametersInfo": {
|
|
@@ -1736,7 +1761,7 @@
|
|
|
1736
1761
|
"kind": 3,
|
|
1737
1762
|
"documentation": {
|
|
1738
1763
|
"kind": "markdown",
|
|
1739
|
-
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 要從中傳回相關聯圖層的目前地理資料庫版本的圖徵。\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
1764
|
+
"value": "**[自版本 1.12](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回分支或已設定版本之資料的目前地理資料庫版本的名稱。 若資料不是位於多個使用者地理資料庫中,則會傳回空文字值。\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 要從中傳回相關聯圖層的目前地理資料庫版本的圖徵。\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)\n\n##### 其他資源\n\n* [Overview of Versioning](https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/overview-of-versioning-in-arcgis-pro.htm)\n"
|
|
1740
1765
|
}
|
|
1741
1766
|
},
|
|
1742
1767
|
"parametersInfo": {
|
|
@@ -1993,7 +2018,7 @@
|
|
|
1993
2018
|
"kind": 3,
|
|
1994
2019
|
"documentation": {
|
|
1995
2020
|
"kind": "markdown",
|
|
1996
|
-
"value": "**[自版本 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n將幾何值轉換為字典。\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - 要轉換至 Arcade
|
|
2021
|
+
"value": "**[自版本 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n將幾何值轉換為字典。\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - 要轉換至 Arcade 字典的幾何。 試_Starting at version 1.25, Polygon or Polyline inputs may contain curve objects when executed in ArcGIS Pro and ArcGIS Maps SDKs for Native Apps_________________________________________________________________________驗.\n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)"
|
|
1997
2022
|
}
|
|
1998
2023
|
},
|
|
1999
2024
|
"parametersInfo": {
|
|
@@ -2228,7 +2253,7 @@
|
|
|
2228
2253
|
"kind": 3,
|
|
2229
2254
|
"documentation": {
|
|
2230
2255
|
"kind": "markdown",
|
|
2231
|
-
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入幾何或圖徵的面積。 這是使用笛卡兒數學的平面測量。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **polygon**: [Polygon](https://developers.arcgis.com/arcade/guide/types/#polygon) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用於計算平面面積的多邊形或圖徵。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) -
|
|
2256
|
+
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入幾何或圖徵的面積。 這是使用笛卡兒數學的平面測量。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **polygon**: [Polygon](https://developers.arcgis.com/arcade/guide/types/#polygon) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用於計算平面面積的多邊形或圖徵。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 試_Measurement unit of the return value____________________驗. 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below________________________________________________________________驗. \n試_Possible values: `acres` | `square-feet` | `hectares` | `square-kilometers` | `square-miles` | `square-nautical-miles` | `square-meters` | `square-yards`______________________________________________________________________________驗\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [AreaGeodetic()](https://developers.arcgis.com/arcade/function-reference/geometry_functions/#areageodetic)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
2232
2257
|
}
|
|
2233
2258
|
},
|
|
2234
2259
|
"parametersInfo": {
|
|
@@ -2253,7 +2278,7 @@
|
|
|
2253
2278
|
"kind": 3,
|
|
2254
2279
|
"documentation": {
|
|
2255
2280
|
"kind": "markdown",
|
|
2256
|
-
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入幾何或圖徵的大地面積。 這是比 `Area()` 更可靠的面積測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **polygon**: [Polygon](https://developers.arcgis.com/arcade/guide/types/#polygon) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用於計算大地面積的多邊形或圖徵。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) -
|
|
2281
|
+
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入幾何或圖徵的大地面積。 這是比 `Area()` 更可靠的面積測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **polygon**: [Polygon](https://developers.arcgis.com/arcade/guide/types/#polygon) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用於計算大地面積的多邊形或圖徵。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 試_Measurement unit of the return value____________________驗. 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below________________________________________________________________驗. \n試_Possible values: `acres` | `square-feet` | `hectares` | `square-kilometers` | `square-miles` | `square-nautical-miles` | `square-meters` | `square-yards`______________________________________________________________________________驗\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [Area()](https://developers.arcgis.com/arcade/function-reference/geometry_functions/#area)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
2257
2282
|
}
|
|
2258
2283
|
},
|
|
2259
2284
|
"parametersInfo": {
|
|
@@ -2330,7 +2355,7 @@
|
|
|
2330
2355
|
"kind": 3,
|
|
2331
2356
|
"documentation": {
|
|
2332
2357
|
"kind": "markdown",
|
|
2333
|
-
"value": "**[自版本 1.3](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回輸入幾何周圍指定距離的平面 (或歐幾里德) 緩衝區。 這是使用笛卡兒數學的平面測量。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 緩衝區的幾何。\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 從幾何至緩衝區的距離。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 緩衝區「距離」的測量單位。
|
|
2358
|
+
"value": "**[自版本 1.3](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回輸入幾何周圍指定距離的平面 (或歐幾里德) 緩衝區。 這是使用笛卡兒數學的平面測量。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 緩衝區的幾何。\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 從幾何至緩衝區的距離。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 緩衝區「距離」的測量單位。 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below_______________________________________________________________驗. 試_For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference____________________________________________________驗. 試_In other profiles, like field calculation, the default is based on the spatial reference of the data_____________________________________________________驗. \n試_Possible values: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`_____________________________________________驗\n\n**返回值**: [Polygon](https://developers.arcgis.com/arcade/guide/types/#polygon)\n\n##### 其他資源\n\n* [BufferGeodetic()](https://developers.arcgis.com/arcade/function-reference/geometry_functions/#buffergeodetic)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
2334
2359
|
}
|
|
2335
2360
|
},
|
|
2336
2361
|
"parametersInfo": {
|
|
@@ -2355,7 +2380,7 @@
|
|
|
2355
2380
|
"kind": 3,
|
|
2356
2381
|
"documentation": {
|
|
2357
2382
|
"kind": "markdown",
|
|
2358
|
-
"value": "**[自版本 1.3](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回輸入幾何周圍指定距離的大地緩衝區。 這是大地測量,可用來計算橢圓體上的距離。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 緩衝區的幾何。\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 從幾何至緩衝區的距離。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 緩衝區「距離」的測量單位。
|
|
2383
|
+
"value": "**[自版本 1.3](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回輸入幾何周圍指定距離的大地緩衝區。 這是大地測量,可用來計算橢圓體上的距離。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 緩衝區的幾何。\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 從幾何至緩衝區的距離。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 緩衝區「距離」的測量單位。 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below_______________________________________________________________驗. 試_For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference____________________________________________________驗. 試_In other profiles, like field calculation, the default is based on the spatial reference of the data_____________________________________________________驗. \n試_Possible values: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`_____________________________________________驗\n\n**返回值**: [Polygon](https://developers.arcgis.com/arcade/guide/types/#polygon)\n\n##### 其他資源\n\n* [Buffer()](https://developers.arcgis.com/arcade/function-reference/geometry_functions/#buffer)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
2359
2384
|
}
|
|
2360
2385
|
},
|
|
2361
2386
|
"parametersInfo": {
|
|
@@ -2413,58 +2438,31 @@
|
|
|
2413
2438
|
"max": 2
|
|
2414
2439
|
}
|
|
2415
2440
|
},
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
"
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
"
|
|
2433
|
-
|
|
2434
|
-
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n指出某個幾何是否包含其他幾何。 在下圖中,紅色突顯部分表示函數會傳回 `true` 的情境。\n\n**請注意,將 `$feature` 作為此函數的輸入,會產生精確度僅達視圖的比例解析度的結果。 因此,在比例之間縮放後,使用此函數從表達式傳回的結果可能會變更。**\n\n**參數**\n\n- **containerGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 針對 `insideGeometry` 的 'contains’ 關係測試的幾何。 請將此幾何想像成 `insideGeometry` 的可能 'container'。\n- **insideGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 針對 `containerGeometry` 的 'within' 關係所測試的幾何。\n\n**返回值**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
2435
|
-
}
|
|
2436
|
-
},
|
|
2437
|
-
"parametersInfo": {
|
|
2438
|
-
"min": 2,
|
|
2439
|
-
"max": 2
|
|
2441
|
+
{
|
|
2442
|
+
"type": "function",
|
|
2443
|
+
"name": "contains",
|
|
2444
|
+
"bundle": "geometry",
|
|
2445
|
+
"sinceVersion": "1.7",
|
|
2446
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#contains",
|
|
2447
|
+
"description": "試_Indicates if one geometry contains another geometry___________________________驗. 試_In the graphic below, the red highlight indicates the scenarios where the function will return `true`____________________________________________________驗.\n\n試_**Be aware that using `$feature` as input to this function will yield results only as precise as the view's scale resolution________________________________________________________________驗. 試_Therefore values returned from expressions using this function may change after zooming between scales.**______________________________________________________驗",
|
|
2448
|
+
"examples": "\n##### 範例\n\n試_Returns true if the feature is contained within the given polygon__________________________________驗\n\n```arcade\nvar container = Polygon({ ... });\nContains(containerGeometry, $feature);\n```\n\n",
|
|
2449
|
+
"completion": {
|
|
2450
|
+
"label": "Contains",
|
|
2451
|
+
"detail": "Contains(containerGeometry, insideGeometry) -> Boolean",
|
|
2452
|
+
"insertText": "Contains(${1:containerGeometry_}, ${2:insideGeometry_})$0",
|
|
2453
|
+
"insertTextMode": 2,
|
|
2454
|
+
"insertTextFormat": 2,
|
|
2455
|
+
"kind": 3,
|
|
2456
|
+
"documentation": {
|
|
2457
|
+
"kind": "markdown",
|
|
2458
|
+
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n試_Indicates if one geometry contains another geometry___________________________驗. 試_In the graphic below, the red highlight indicates the scenarios where the function will return `true`____________________________________________________驗.\n\n試_**Be aware that using `$feature` as input to this function will yield results only as precise as the view's scale resolution________________________________________________________________驗. 試_Therefore values returned from expressions using this function may change after zooming between scales.**______________________________________________________驗\n\n**參數**\n\n- **containerGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 試_The geometry that is tested for the 'contains' relationship to `insideGeometry`_________________________________________驗. 試_Think of this geometry as the potential 'container' of the `insideGeometry`_______________________________________驗.\n- **insideGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 試_The geometry that is tested for the 'within' relationship to the `containerGeometry`____________________________________________驗.\n\n**返回值**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
2440
2459
|
}
|
|
2441
2460
|
},
|
|
2442
|
-
{
|
|
2443
|
-
"
|
|
2444
|
-
"
|
|
2445
|
-
"bundle": "geometry",
|
|
2446
|
-
"sinceVersion": "1.7",
|
|
2447
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#contains2",
|
|
2448
|
-
"description": "從輸入幾何包含的 FeatureSet 傳回圖徵。 在下圖中,紅色突顯部分表示函數會在哪些空間關係下傳回圖徵。\n\n**請注意,將 `$feature` 作為此函數的輸入,會產生精確度僅達視圖的比例解析度的結果。 因此,在比例之間縮放後,使用此函數從表達式傳回的結果可能會變更。**",
|
|
2449
|
-
"examples": "\n##### 範例\n\n傳回指定多邊形內的圖徵數目\n\n```arcade\nvar parcels = FeatureSetByName($map, 'parcels')\nvar projectArea = $feature;\nCount(Contains(projectArea, parcels));\n```\n\n",
|
|
2450
|
-
"completion": {
|
|
2451
|
-
"label": "Contains",
|
|
2452
|
-
"detail": "Contains(containerGeometry, insideFeatures) -> FeatureSet",
|
|
2453
|
-
"insertText": "Contains(${1:containerGeometry_}, ${2:insideFeatures_})$0",
|
|
2454
|
-
"insertTextMode": 2,
|
|
2455
|
-
"insertTextFormat": 2,
|
|
2456
|
-
"kind": 3,
|
|
2457
|
-
"documentation": {
|
|
2458
|
-
"kind": "markdown",
|
|
2459
|
-
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從輸入幾何包含的 FeatureSet 傳回圖徵。 在下圖中,紅色突顯部分表示函數會在哪些空間關係下傳回圖徵。\n\n**請注意,將 `$feature` 作為此函數的輸入,會產生精確度僅達視圖的比例解析度的結果。 因此,在比例之間縮放後,使用此函數從表達式傳回的結果可能會變更。**\n\n**參數**\n\n- **containerGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 針對 `insideFeatures` 的 'contains’ 關係測試的幾何。 請將此幾何想像成 `insideFeatures` 的可能 'container'。\n- **insideFeatures**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - 針對 `containerGeometry` 的 'within' 關係所測試的 FeatureSet。\n\n**返回值**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
2460
|
-
}
|
|
2461
|
-
},
|
|
2462
|
-
"parametersInfo": {
|
|
2463
|
-
"min": 2,
|
|
2464
|
-
"max": 2
|
|
2465
|
-
}
|
|
2461
|
+
"parametersInfo": {
|
|
2462
|
+
"min": 2,
|
|
2463
|
+
"max": 2
|
|
2466
2464
|
}
|
|
2467
|
-
|
|
2465
|
+
},
|
|
2468
2466
|
{
|
|
2469
2467
|
"type": "function",
|
|
2470
2468
|
"name": "convertdirection",
|
|
@@ -2633,7 +2631,7 @@
|
|
|
2633
2631
|
"kind": 3,
|
|
2634
2632
|
"documentation": {
|
|
2635
2633
|
"kind": "markdown",
|
|
2636
|
-
"value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n藉由插入頂點來建立不超過指定間隔的線段,以緻密化幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 要緻密化的輸入幾何。\n- **maxSegmentLength**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 允許的最大線段長度。 必須是正值。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - maxSegmentLength 的測量單位。 預設為輸入幾何的單位。
|
|
2634
|
+
"value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n藉由插入頂點來建立不超過指定間隔的線段,以緻密化幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 要緻密化的輸入幾何。\n- **maxSegmentLength**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 允許的最大線段長度。 必須是正值。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - maxSegmentLength 的測量單位。 預設為輸入幾何的單位。 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below_______________________________________________________________驗. 試_For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference____________________________________________________驗. 試_In other profiles, like field calculation, the default is based on the spatial reference of the data_____________________________________________________驗. \n試_Possible values: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`_____________________________________________驗\n\n**返回值**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry)\n\n##### 其他資源\n\n* [DensifyGeodetic()](https://developers.arcgis.com/arcade/function-reference/geometry_functions/#densifygeodetic)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
2637
2635
|
}
|
|
2638
2636
|
},
|
|
2639
2637
|
"parametersInfo": {
|
|
@@ -2658,7 +2656,7 @@
|
|
|
2658
2656
|
"kind": 3,
|
|
2659
2657
|
"documentation": {
|
|
2660
2658
|
"kind": "markdown",
|
|
2661
|
-
"value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n在每個輸入幾何的頂點之間建立測地線,並使用附加頂點來緻密化輸出幾何,以建立不長於指定間隔的線段。\n\n**請注意,將 `$feature` 作為此函數的輸入,會產生精確度僅達視圖的比例解析度的結果。 因此,在比例之間縮放後,使用此函數從表達式傳回的結果可能會變更。**\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 要緻密化的輸入幾何。\n- **maxSegmentLength**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 允許的最大線段長度。 必須是正值。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - maxSegmentLength 的測量單位。 預設為輸入幾何的單位。
|
|
2659
|
+
"value": "**[自版本 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n在每個輸入幾何的頂點之間建立測地線,並使用附加頂點來緻密化輸出幾何,以建立不長於指定間隔的線段。\n\n**請注意,將 `$feature` 作為此函數的輸入,會產生精確度僅達視圖的比例解析度的結果。 因此,在比例之間縮放後,使用此函數從表達式傳回的結果可能會變更。**\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 要緻密化的輸入幾何。\n- **maxSegmentLength**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 允許的最大線段長度。 必須是正值。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - maxSegmentLength 的測量單位。 預設為輸入幾何的單位。 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below_______________________________________________________________驗. 試_For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference____________________________________________________驗. 試_In other profiles, like field calculation, the default is based on the spatial reference of the data_____________________________________________________驗. \n試_Possible values: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`_____________________________________________驗\n\n**返回值**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry)\n\n##### 其他資源\n\n* [Densify()](https://developers.arcgis.com/arcade/function-reference/geometry_functions/#densify)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
2662
2660
|
}
|
|
2663
2661
|
},
|
|
2664
2662
|
"parametersInfo": {
|
|
@@ -2733,7 +2731,7 @@
|
|
|
2733
2731
|
"kind": 3,
|
|
2734
2732
|
"documentation": {
|
|
2735
2733
|
"kind": "markdown",
|
|
2736
|
-
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回兩個幾何之間的平面距離。 這是使用笛卡兒數學的平面測量。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **geometry1**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用來測量與 `geometry2` 之距離的幾何。\n- **geometry2**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用來測量與 `geometry1` 之距離的幾何。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。
|
|
2734
|
+
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回兩個幾何之間的平面距離。 這是使用笛卡兒數學的平面測量。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **geometry1**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用來測量與 `geometry2` 之距離的幾何。\n- **geometry2**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用來測量與 `geometry1` 之距離的幾何。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below_______________________________________________________________驗. 試_For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference____________________________________________________驗. 試_In other profiles, like field calculation, the default is based on the spatial reference of the data_____________________________________________________驗. \n試_Possible values: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`_____________________________________________驗\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [DistanceGeodetic()](https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancegeodetic)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
2737
2735
|
}
|
|
2738
2736
|
},
|
|
2739
2737
|
"parametersInfo": {
|
|
@@ -2751,14 +2749,14 @@
|
|
|
2751
2749
|
"examples": "\n##### 範例\n\n以公里為單位,傳回串流圖層中某台巴士與中央車站的距離\n\n```arcade\nvar unionStation = Point({\"x\": -118.15, \"y\": 33.80, \"spatialReference\": { \"wkid\": 3857 }});\ndistanceGeodetic($feature, unionStation, 'kilometers');\n```\n\n",
|
|
2752
2750
|
"completion": {
|
|
2753
2751
|
"label": "DistanceGeodetic",
|
|
2754
|
-
"detail": "DistanceGeodetic(point1, point2,
|
|
2752
|
+
"detail": "DistanceGeodetic(point1, point2, unit?) -> Number",
|
|
2755
2753
|
"insertText": "DistanceGeodetic(${1:point1_}, ${2:point2_})$0",
|
|
2756
2754
|
"insertTextMode": 2,
|
|
2757
2755
|
"insertTextFormat": 2,
|
|
2758
2756
|
"kind": 3,
|
|
2759
2757
|
"documentation": {
|
|
2760
2758
|
"kind": "markdown",
|
|
2761
|
-
"value": "**[自版本 1.8](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n計算一個大圓形沿線兩點之間的最短距離。 僅適用於含地理座標系統 (GCS) 或 Web Mercator 空間參考的點。 若輸入點具有投影的座標系統 (不同於 Web Mercator),則應使用 `Distance()` 函數。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **point1**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 用來測量與 `point2` 之距離的點。 此點必須具有 GCS 或 Web Mercator 空間參考。\n- **point2**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 用來測量與 `point1` 之距離的點。 此點必須具有 GCS 或 Web Mercator 空間參考。\n- **
|
|
2759
|
+
"value": "**[自版本 1.8](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n計算一個大圓形沿線兩點之間的最短距離。 僅適用於含地理座標系統 (GCS) 或 Web Mercator 空間參考的點。 若輸入點具有投影的座標系統 (不同於 Web Mercator),則應使用 `Distance()` 函數。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **point1**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 用來測量與 `point2` 之距離的點。 此點必須具有 GCS 或 Web Mercator 空間參考。\n- **point2**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 用來測量與 `point1` 之距離的點。 此點必須具有 GCS 或 Web Mercator 空間參考。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 試_Measurement unit of the return value____________________驗. 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below_______________________________________________________________驗. 試_For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference____________________________________________________驗. 試_In other profiles, like field calculation, the default is based on the spatial reference of the data_____________________________________________________驗. \n試_Possible values: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`_____________________________________________驗\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [Distance()](https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distance)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
2762
2760
|
}
|
|
2763
2761
|
},
|
|
2764
2762
|
"parametersInfo": {
|
|
@@ -2783,7 +2781,7 @@
|
|
|
2783
2781
|
"kind": 3,
|
|
2784
2782
|
"documentation": {
|
|
2785
2783
|
"kind": "markdown",
|
|
2786
|
-
"value": "**[自版本 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據給定距離傳回沿輸入線的座標。 嘗試尋找給定距離處的座標時,會考慮直線的所有部分。 此距離不包括線條的路徑 (或部分) 之間的間隙。 如果沿輸入線未找到距離,則結果將為 `null`。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 從中尋找座標的線條或路徑。 將圖徵作為輸入時,圖徵的幾何必須是折線。\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 用於從線的起點沿著 `inputLine` 找到座標的距離。 嘗試尋找給定距離處的座標時,會考慮直線的所有部分。 此距離不包括線條的路徑 (或部分) 之間的間隙。 \n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回具有以下屬性的字典。 如果沿輸入線未找到距離,則結果將為 `null`。\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - 基於給定距離值沿 `inputLine` 的點座標。\n- **
|
|
2784
|
+
"value": "**[自版本 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據給定距離傳回沿輸入線的座標。 嘗試尋找給定距離處的座標時,會考慮直線的所有部分。 此距離不包括線條的路徑 (或部分) 之間的間隙。 如果沿輸入線未找到距離,則結果將為 `null`。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - 從中尋找座標的線條或路徑。 將圖徵作為輸入時,圖徵的幾何必須是折線。\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 用於從線的起點沿著 `inputLine` 找到座標的距離。 嘗試尋找給定距離處的座標時,會考慮直線的所有部分。 此距離不包括線條的路徑 (或部分) 之間的間隙。 \n\n**返回值**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \n傳回具有以下屬性的字典。 如果沿輸入線未找到距離,則結果將為 `null`。\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - 基於給定距離值沿 `inputLine` 的點座標。\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 如果是折線輸入,則為 `coordinate` 所屬路徑的索引。\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - `coordinate` 所屬線段的索引 (相對於路徑)。 如果 `coordinate` 表示輸入線的頂點,則 `segmentId` 會傳回前一個折點的索引。 如果 `coordinate` 是 `inputLine` 的第一個折點,則 `segmentId` 的值將是 `0`。"
|
|
2787
2785
|
}
|
|
2788
2786
|
},
|
|
2789
2787
|
"parametersInfo": {
|
|
@@ -2823,7 +2821,7 @@
|
|
|
2823
2821
|
"sinceVersion": "1.3",
|
|
2824
2822
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#equals",
|
|
2825
2823
|
"description": "指出兩個幾何是否相等,或在指定資料的空間參考和容差的情況下在地理上是否相同。 兩個輸入幾何不一定要完全一致才會視為相等。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_",
|
|
2826
|
-
"examples": "\n##### 範例\n\n若幾何相等則傳回 true\n\n```arcade\nvar geom2 = Point({ ... });\nEquals($feature, geom2);\n```\n\n",
|
|
2824
|
+
"examples": "\n##### 範例\n\n若幾何相等則傳回 true\n\n```arcade\nvar geom2 = Point({ ... });\nEquals(Geometry($feature), geom2);\n```\n\n",
|
|
2827
2825
|
"completion": {
|
|
2828
2826
|
"label": "Equals",
|
|
2829
2827
|
"detail": "Equals(geometry1, geometry2) -> Boolean",
|
|
@@ -2833,7 +2831,7 @@
|
|
|
2833
2831
|
"kind": 3,
|
|
2834
2832
|
"documentation": {
|
|
2835
2833
|
"kind": "markdown",
|
|
2836
|
-
"value": "**[自版本 1.3](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n指出兩個幾何是否相等,或在指定資料的空間參考和容差的情況下在地理上是否相同。 兩個輸入幾何不一定要完全一致才會視為相等。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **geometry1**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry)
|
|
2834
|
+
"value": "**[自版本 1.3](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n指出兩個幾何是否相等,或在指定資料的空間參考和容差的情況下在地理上是否相同。 兩個輸入幾何不一定要完全一致才會視為相等。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **geometry1**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - 第一個輸入幾何。\n- **geometry2**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - 第二個輸入幾何。\n\n**返回值**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
2837
2835
|
}
|
|
2838
2836
|
},
|
|
2839
2837
|
"parametersInfo": {
|
|
@@ -2906,7 +2904,7 @@
|
|
|
2906
2904
|
"kind": 3,
|
|
2907
2905
|
"documentation": {
|
|
2908
2906
|
"kind": "markdown",
|
|
2909
|
-
"value": "從序列化的 JSON 文字建構範圍物件。 JSON 結構描述必須遵循包絡矩形物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構範圍物件的 JSON 文字。\n\n**返回值**: [Extent](https://developers.arcgis.com/arcade/guide/types/#extent)"
|
|
2907
|
+
"value": "從序列化的 JSON 文字建構範圍物件。 JSON 結構描述必須遵循包絡矩形物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構範圍物件的 JSON 文字。\n\n**返回值**: [Extent](https://developers.arcgis.com/arcade/guide/types/#extent)\n\n##### 其他資源\n\n* [ArcGIS REST API JSON specification for Envelope objects](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#ENVELOPE)\n"
|
|
2910
2908
|
}
|
|
2911
2909
|
},
|
|
2912
2910
|
"parametersInfo": {
|
|
@@ -2956,7 +2954,7 @@
|
|
|
2956
2954
|
"kind": 3,
|
|
2957
2955
|
"documentation": {
|
|
2958
2956
|
"kind": "markdown",
|
|
2959
|
-
"value": "從序列化的 JSON 文字或字典建構幾何物件。 JSON 結構描述必須遵循幾何物件的 ArcGIS REST API JSON 規格。 此函數也必須傳回輸入圖徵的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構幾何物件的圖徵或 JSON
|
|
2957
|
+
"value": "從序列化的 JSON 文字或字典建構幾何物件。 JSON 結構描述必須遵循幾何物件的 ArcGIS REST API JSON 規格。 此函數也必須傳回輸入圖徵的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構幾何物件的圖徵或 JSON。 試_Starting at version 1.25, the input JSON text or dictionary definitions for Polygons or Polylines may contain curve objects when executed in ArcGIS Pro and ArcGIS Maps SDKs for Native Apps________________________________________________________________________________________________驗.\n\n**返回值**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry)\n\n##### 其他資源\n\n* [ArcGIS REST API JSON specification for Geometry objects](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm)\n"
|
|
2960
2958
|
}
|
|
2961
2959
|
},
|
|
2962
2960
|
"parametersInfo": {
|
|
@@ -3133,7 +3131,7 @@
|
|
|
3133
3131
|
"kind": 3,
|
|
3134
3132
|
"documentation": {
|
|
3135
3133
|
"kind": "markdown",
|
|
3136
|
-
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入幾何或圖徵的長度。 這是使用笛卡兒數學的平面測量。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用於計算平面長度的一或多個幾何。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。
|
|
3134
|
+
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入幾何或圖徵的長度。 這是使用笛卡兒數學的平面測量。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用於計算平面長度的一或多個幾何。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below_______________________________________________________________驗. 試_For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference____________________________________________________驗. 試_In other profiles, like field calculation, the default is based on the spatial reference of the data_____________________________________________________驗. \n試_Possible values: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`_____________________________________________驗\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [LengthGeodetic()](https://developers.arcgis.com/arcade/function-reference/geometry_functions/#lengthgeodetic)\n* [Length3d()](https://developers.arcgis.com/arcade/function-reference/geometry_functions/#length3d)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
3137
3135
|
}
|
|
3138
3136
|
},
|
|
3139
3137
|
"parametersInfo": {
|
|
@@ -3158,7 +3156,7 @@
|
|
|
3158
3156
|
"kind": 3,
|
|
3159
3157
|
"documentation": {
|
|
3160
3158
|
"kind": "markdown",
|
|
3161
|
-
"value": "**[自版本 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n考量高度或 Z 資訊,傳回輸入幾何或圖徵的平面 (即笛卡兒) 長度。 必須為提供給此函數的幾何指派一個投影座標系統。 如果空間參考未提供 Z 單位的值,則將以公尺為單位傳回結果。 請注意,即使資料包含 Z 資訊, 並非所有用戶端 (例如 ArcGIS API for JavaScript 的 3.x 系列) 都支援請求 Z 值。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 在 3D 空間中用於計算平面長度的幾何或圖徵。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。
|
|
3159
|
+
"value": "**[自版本 1.14](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n考量高度或 Z 資訊,傳回輸入幾何或圖徵的平面 (即笛卡兒) 長度。 必須為提供給此函數的幾何指派一個投影座標系統。 如果空間參考未提供 Z 單位的值,則將以公尺為單位傳回結果。 請注意,即使資料包含 Z 資訊, 並非所有用戶端 (例如 ArcGIS API for JavaScript 的 3.x 系列) 都支援請求 Z 值。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 在 3D 空間中用於計算平面長度的幾何或圖徵。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below_______________________________________________________________驗. 試_For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference____________________________________________________驗. 試_In other profiles, like field calculation, the default is based on the spatial reference of the data_____________________________________________________驗. \n試_Possible values: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`_____________________________________________驗\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [LengthGeodetic()](https://developers.arcgis.com/arcade/function-reference/geometry_functions/#lengthgeodetic)\n* [Length()](https://developers.arcgis.com/arcade/function-reference/geometry_functions/#length)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
3162
3160
|
}
|
|
3163
3161
|
},
|
|
3164
3162
|
"parametersInfo": {
|
|
@@ -3183,7 +3181,7 @@
|
|
|
3183
3181
|
"kind": 3,
|
|
3184
3182
|
"documentation": {
|
|
3185
3183
|
"kind": "markdown",
|
|
3186
|
-
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入幾何或圖徵的大地長度。 這是比 `Length()` 更可靠的長度測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用於計算大地長度的幾何。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。
|
|
3184
|
+
"value": "**[自版本 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n以指定的單位傳回輸入幾何或圖徵的大地長度。 這是比 `Length()` 更可靠的長度測量 因為它會考量地球的曲度。 僅支援包含 Web Mercator (wkid 3857) 或 WGS 84 (wkid 4326) 空間參考的幾何。\n\n_視覺化和標示設定檔中的圖徵幾何會根據視圖的比例解析度 進行一般化,以提高繪圖效能。 因此,將圖徵的幾何 (即`$feature`) 作為這些上下文中任何幾何函數的輸入, 將在每個比例級別傳回不同的結果。 其他設定檔 (例如快顯視窗) 則提供完整解析度幾何。_\n\n**參數**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 用於計算大地長度的幾何。\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 傳回值的測量單位。 試_This may be one of the possible values below, or one of the numeric codes listed in the additional resources section below_______________________________________________________________驗. 試_For the visualization, labeling, and popup profiles, the default unit is the map's spatial reference____________________________________________________驗. 試_In other profiles, like field calculation, the default is based on the spatial reference of the data_____________________________________________________驗. \n試_Possible values: `feet` | `kilometers` | `miles` | `nautical-miles` | `meters` | `yards`_____________________________________________驗\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [Length()](https://developers.arcgis.com/arcade/function-reference/geometry_functions/#length)\n* [Length3d()](https://developers.arcgis.com/arcade/function-reference/geometry_functions/#length3d)\n* [Available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnitType_Constants/000w00000042000000/)\n* [More available numeric codes for unit parameter](https://resources.arcgis.com/en/help/arcobjects-cpp/componenthelp/index.html#/esriSRUnit2Type_Constants/000w00000041000000/)\n"
|
|
3187
3185
|
}
|
|
3188
3186
|
},
|
|
3189
3187
|
"parametersInfo": {
|
|
@@ -3306,7 +3304,7 @@
|
|
|
3306
3304
|
"kind": 3,
|
|
3307
3305
|
"documentation": {
|
|
3308
3306
|
"kind": "markdown",
|
|
3309
|
-
"value": "從序列化的 JSON 文字建構多點物件。 JSON 結構描述必須遵循多點物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構多點幾何物件的 JSON。\n\n**返回值**: [Multipoint](https://developers.arcgis.com/arcade/guide/types/#multipoint)"
|
|
3307
|
+
"value": "從序列化的 JSON 文字建構多點物件。 JSON 結構描述必須遵循多點物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構多點幾何物件的 JSON。\n\n**返回值**: [Multipoint](https://developers.arcgis.com/arcade/guide/types/#multipoint)\n\n##### 其他資源\n\n* [ArcGIS REST API JSON specification for Multipoint objects](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#MULTIPOINT)\n"
|
|
3310
3308
|
}
|
|
3311
3309
|
},
|
|
3312
3310
|
"parametersInfo": {
|
|
@@ -3456,7 +3454,7 @@
|
|
|
3456
3454
|
"kind": 3,
|
|
3457
3455
|
"documentation": {
|
|
3458
3456
|
"kind": "markdown",
|
|
3459
|
-
"value": "從序列化的 JSON 文字建構點物件。 JSON 結構描述必須遵循點物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構點幾何物件的 JSON。\n\n**返回值**: [Point](https://developers.arcgis.com/arcade/guide/types/#point)"
|
|
3457
|
+
"value": "從序列化的 JSON 文字建構點物件。 JSON 結構描述必須遵循點物件的 ArcGIS REST API JSON 規格。\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構點幾何物件的 JSON。\n\n**返回值**: [Point](https://developers.arcgis.com/arcade/guide/types/#point)\n\n##### 其他資源\n\n* [ArcGIS REST API JSON specification for Point objects](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#POINT)\n"
|
|
3460
3458
|
}
|
|
3461
3459
|
},
|
|
3462
3460
|
"parametersInfo": {
|
|
@@ -3507,7 +3505,7 @@
|
|
|
3507
3505
|
"kind": 3,
|
|
3508
3506
|
"documentation": {
|
|
3509
3507
|
"kind": "markdown",
|
|
3510
|
-
"value": "僅使用值陣列作為座標,從字典建構多邊形物件。\n\n**參數**\n\n- **geometryDefinition**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 從中建構多邊形幾何物件的屬性。\n\n - **rings**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 環陣列 (或形狀),其中每個環都是一個頂點陣列。\n\n - **ring**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 環中的頂點陣列。 所有環都應該是閉合的,這意味著每個環的第一個折點應該始終與最後一個折點相同。 頂點應按順時針順序定義。 以逆時針順序定義頂點的環將導致多邊形孔。\n\n - **vertex**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number)> - 表示環中單一折點或座標的數字陣列。 陣列中的第一個項目表示 x 座標。 第二個元素表示 y 座標。 如果 `hasM` 為 true 且 `hasZ` 為 false,則第三個元素表示 m 座標。 否則,第三個元素表示 z 座標。 如果 `hasZ` 和 `hasM` 皆為 true,則第三個元素表示 z 座標,第四個元素表示 m 座標。\n - **hasM**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 m 值。\n - **hasZ**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 z 值。\n - **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 幾何的空間參考。\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 地理或投影座標系統的已知 ID,用於定義繪製幾何的參考。\n\n**返回值**: [Polygon](https://developers.arcgis.com/arcade/guide/types/#polygon)"
|
|
3508
|
+
"value": "僅使用值陣列作為座標,從字典建構多邊形物件。\n\n**參數**\n\n- **geometryDefinition**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 從中建構多邊形幾何物件的屬性。\n\n - **rings**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 環陣列 (或形狀),其中每個環都是一個頂點陣列。\n\n - **ring**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 環中的頂點陣列。 所有環都應該是閉合的,這意味著每個環的第一個折點應該始終與最後一個折點相同。 頂點應按順時針順序定義。 以逆時針順序定義頂點的環將導致多邊形孔。\n\n - **vertex**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number)> - 表示環中單一折點或座標的數字陣列。 陣列中的第一個項目表示 x 座標。 第二個元素表示 y 座標。 如果 `hasM` 為 true 且 `hasZ` 為 false,則第三個元素表示 m 座標。 否則,第三個元素表示 z 座標。 如果 `hasZ` 和 `hasM` 皆為 true,則第三個元素表示 z 座標,第四個元素表示 m 座標。\n - **curveRings**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試__Since version 1.25 in ArcGIS Pro and ArcGIS Maps SDKs for Native Apps._ An array of rings (or shapes) that may contain curves_________________________________________________________________驗.\n\n - **ring**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_An array of vertices or curve objects in a ring. All rings should be closed, meaning the first vertex of each ring should always be the same as the last vertex. Vertices should be defined in clockwise order. Rings with vertices defined in counter-clockwise order will result in polygon holes. Each item in the array can be either a vertex or a curve object____________________________________________________________________________________________________________________________________________________________________________________驗.\n\n - **vertex**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number)> - 試_An array of numbers representing a single vertex or coordinate in a ring. The first item in the array represents the x-coordinate. The second element represents the y-coordinate. The third element represents the m-coordinate if `hasM` is true and `hasZ` is false. Otherwise, the third element represents the z-coordinate. If `hasZ` and `hasM` are both true, then the third element represents the z-coordinate, and the fourth element represents the m-coordinate________________________________________________________________________________________________________________________________________________________________________________________________________________________________________驗.\n - **curve**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 試_A curve object that represents a segment of a ring. The curve object has the following properties__________________________________________________驗:\n\n - **a**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_Defines an elliptic or circular arc. Circular arcs have four elements in the array; elliptic arcs must have 7 elements_____________________________________________________________驗.\n - **b**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_Represents a cubic Bézier curve. This is defined by an array of three arrays representing an end point and two control points________________________________________________________________驗.\n - **c**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_The c property represents an open circular arc. This is defined as an array of two double-precision values representing the x and y coordinates of the center of the circle_______________________________________________________________________________________驗.\n - **hasM**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 m 值。\n - **hasZ**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 z 值。\n - **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 幾何的空間參考。\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 地理或投影座標系統的已知 ID,用於定義繪製幾何的參考。\n\n**返回值**: [Polygon](https://developers.arcgis.com/arcade/guide/types/#polygon)\n\n##### 其他資源\n\n* [Curve objects](https://developers.arcgis.com/rest/services-reference/enterprise/geometry-objects/#curve-objects)\n"
|
|
3511
3509
|
}
|
|
3512
3510
|
},
|
|
3513
3511
|
"parametersInfo": {
|
|
@@ -3531,7 +3529,7 @@
|
|
|
3531
3529
|
"kind": 3,
|
|
3532
3530
|
"documentation": {
|
|
3533
3531
|
"kind": "markdown",
|
|
3534
|
-
"value": "將點陣列作為座標,從字典建構多邊形物件。\n\n**參數**\n\n- **geometryDefinition**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 從中建構多邊形幾何物件的屬性。\n\n - **rings**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 環 (或形狀) 的陣列,其中每個環都是一個點物件陣列。\n\n - **ring**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 表示環的點陣列。 所有環都應該是閉合的,這意味著每個環的第一點應該始終與環中最後一點相同。 點應按順時針順序定義。 以逆時針順序定義頂點的環將導致多邊形孔。\n - **hasM**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 m 值。\n - **hasZ**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 z 值。\n - **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 幾何的空間參考。\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 地理或投影座標系統的已知 ID,用於定義繪製幾何的參考。\n\n**返回值**: [Polygon](https://developers.arcgis.com/arcade/guide/types/#polygon)"
|
|
3532
|
+
"value": "將點陣列作為座標,從字典建構多邊形物件。\n\n**參數**\n\n- **geometryDefinition**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 從中建構多邊形幾何物件的屬性。\n\n - **rings**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 環 (或形狀) 的陣列,其中每個環都是一個點物件陣列。\n\n - **ring**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 表示環的點陣列。 所有環都應該是閉合的,這意味著每個環的第一點應該始終與環中最後一點相同。 點應按順時針順序定義。 以逆時針順序定義頂點的環將導致多邊形孔。\n - **curveRings**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試__Since version 1.25 in ArcGIS Pro and ArcGIS Maps SDKs for Native Apps._ An array of rings (or shapes) that may contain curves_________________________________________________________________驗.\n\n - **ring**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_An array of vertices or curve objects in a ring. All rings should be closed, meaning the first vertex of each ring should always be the same as the last vertex. Vertices should be defined in clockwise order. Rings with vertices defined in counter-clockwise order will result in polygon holes. Each item in the array can be either a vertex or a curve object____________________________________________________________________________________________________________________________________________________________________________________驗.\n\n - **vertex**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - 試_An point representing a single vertex or coordinate in a ring________________________________驗.\n - **curve**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 試_A curve object that represents a segment of a ring. The curve object has the following properties__________________________________________________驗:\n\n - **a**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_Defines an elliptic or circular arc. Circular arcs have four elements in the array; elliptic arcs must have 7 elements_____________________________________________________________驗.\n - **b**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_Represents a cubic Bézier curve. This is defined by an array of three arrays representing an end point and two control points________________________________________________________________驗.\n - **c**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_The c property represents an open circular arc. This is defined as an array of two double-precision values representing the x and y coordinates of the center of the circle_______________________________________________________________________________________驗.\n - **hasM**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 m 值。\n - **hasZ**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 z 值。\n - **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 幾何的空間參考。\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 地理或投影座標系統的已知 ID,用於定義繪製幾何的參考。\n\n**返回值**: [Polygon](https://developers.arcgis.com/arcade/guide/types/#polygon)\n\n##### 其他資源\n\n* [Curve objects](https://developers.arcgis.com/rest/services-reference/enterprise/geometry-objects/#curve-objects)\n"
|
|
3535
3533
|
}
|
|
3536
3534
|
},
|
|
3537
3535
|
"parametersInfo": {
|
|
@@ -3544,7 +3542,7 @@
|
|
|
3544
3542
|
"name": "polygon",
|
|
3545
3543
|
"bundle": "geometry",
|
|
3546
3544
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#polygon3",
|
|
3547
|
-
"description": "從序列化的 JSON 文字建構多邊形物件。 JSON 結構描述必須遵循多邊形物件的 ArcGIS REST API JSON 規格。",
|
|
3545
|
+
"description": "從序列化的 JSON 文字建構多邊形物件。 JSON 結構描述必須遵循多邊形物件的 ArcGIS REST API JSON 規格。 試_JSON text may contain curve objects in ArcGIS Pro and ArcGIS Maps SDKs for Native Apps starting at version 1.25_________________________________________________________驗.",
|
|
3548
3546
|
"examples": "\n##### 範例\n\n\n\n```arcade\n// Creates a Polygon object\nvar polygonJSON = '{\"rings\": [[[-97.06138,32.837],[-97.06133,32.836],[-97.06124,32.834],[-97.06127,32.832], [-97.06138,32.837]],[[-97.06326,32.759],[-97.06298,32.755],[-97.06153,32.749], [-97.06326,32.759]]],\"spatialReference\": { \"wkid\": 3857 }}';\nPolygon(polygonJSON);\n```\n\n",
|
|
3549
3547
|
"completion": {
|
|
3550
3548
|
"label": "Polygon",
|
|
@@ -3555,7 +3553,7 @@
|
|
|
3555
3553
|
"kind": 3,
|
|
3556
3554
|
"documentation": {
|
|
3557
3555
|
"kind": "markdown",
|
|
3558
|
-
"value": "從序列化的 JSON 文字建構多邊形物件。 JSON 結構描述必須遵循多邊形物件的 ArcGIS REST API JSON
|
|
3556
|
+
"value": "從序列化的 JSON 文字建構多邊形物件。 JSON 結構描述必須遵循多邊形物件的 ArcGIS REST API JSON 規格。 試_JSON text may contain curve objects in ArcGIS Pro and ArcGIS Maps SDKs for Native Apps starting at version 1.25_________________________________________________________驗.\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構多邊形幾何物件的 JSON。\n\n**返回值**: [Polygon](https://developers.arcgis.com/arcade/guide/types/#polygon)\n\n##### 其他資源\n\n* [ArcGIS REST API JSON specification for Polygon objects](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#POLYGON)\n"
|
|
3559
3557
|
}
|
|
3560
3558
|
},
|
|
3561
3559
|
"parametersInfo": {
|
|
@@ -3581,7 +3579,7 @@
|
|
|
3581
3579
|
"kind": 3,
|
|
3582
3580
|
"documentation": {
|
|
3583
3581
|
"kind": "markdown",
|
|
3584
|
-
"value": "僅使用值陣列作為座標,從字典建構折線物件。\n\n**參數**\n\n- **geometryDefinition**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 從中建構折線幾何物件的屬性。\n\n - **paths**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 路徑 (或線段) 的陣列,其中每個路徑都是一個頂點陣列。\n\n - **path**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 線段或路徑中頂點的陣列。\n\n - **vertex**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number)> - 表示線段中單一折點或座標的數字陣列。 陣列中的第一個項目表示 x 座標。 第二個元素表示 y 座標。 如果 `hasM` 為 true 且 `hasZ` 為 false,則第三個元素表示 m 座標。 否則,第三個元素表示 z 座標。 如果 `hasZ` 和 `hasM` 皆為 true,則第三個元素表示 z 座標,第四個元素表示 m 座標。\n - **hasM**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 m 值。\n - **hasZ**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 z 值。\n - **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 幾何的空間參考。\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 地理或投影座標系統的已知 ID,用於定義繪製幾何的參考。\n\n**返回值**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline)"
|
|
3582
|
+
"value": "僅使用值陣列作為座標,從字典建構折線物件。\n\n**參數**\n\n- **geometryDefinition**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 從中建構折線幾何物件的屬性。\n\n - **paths**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 路徑 (或線段) 的陣列,其中每個路徑都是一個頂點陣列。\n\n - **path**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 線段或路徑中頂點的陣列。\n\n - **vertex**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number)> - 表示線段中單一折點或座標的數字陣列。 陣列中的第一個項目表示 x 座標。 第二個元素表示 y 座標。 如果 `hasM` 為 true 且 `hasZ` 為 false,則第三個元素表示 m 座標。 否則,第三個元素表示 z 座標。 如果 `hasZ` 和 `hasM` 皆為 true,則第三個元素表示 z 座標,第四個元素表示 m 座標。\n - **curvePaths**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試__Since version 1.25 in ArcGIS Pro and ArcGIS Maps SDKs for Native Apps._ An array of paths (or line segments) that may contain curves____________________________________________________________________驗.\n\n - **path**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_An array of vertices or curve objects in a path_________________________驗.\n\n - **vertex**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number)> - 試_An array of numbers representing a single vertex or coordinate in a line segment. The first item in the array represents the x-coordinate. The second element represents the y-coordinate. The third element represents the m-coordinate if `hasM` is true and `hasZ` is false. Otherwise, the third element represents the z-coordinate. If `hasZ` and `hasM` are both true, then the third element represents the z-coordinate, and the fourth element represents the m-coordinate____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________驗.\n - **curve**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 試_A curve object that represents a segment of a path. The curve object has the following properties__________________________________________________驗:\n\n - **a**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_Defines an elliptic or circular arc. Circular arcs have four elements in the array; elliptic arcs must have 7 elements_____________________________________________________________驗.\n - **b**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_Represents a cubic Bézier curve. This is defined by an array of three arrays representing an end point and two control points________________________________________________________________驗.\n - **c**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_The c property represents an open circular arc. This is defined as an array of two double-precision values representing the x and y coordinates of the center of the circle_______________________________________________________________________________________驗.\n - **hasM**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 m 值。\n - **hasZ**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 z 值。\n - **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 幾何的空間參考。\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 地理或投影座標系統的已知 ID,用於定義繪製幾何的參考。\n\n**返回值**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline)\n\n##### 其他資源\n\n* [Curve objects](https://developers.arcgis.com/rest/services-reference/enterprise/geometry-objects/#curve-objects)\n"
|
|
3585
3583
|
}
|
|
3586
3584
|
},
|
|
3587
3585
|
"parametersInfo": {
|
|
@@ -3605,7 +3603,7 @@
|
|
|
3605
3603
|
"kind": 3,
|
|
3606
3604
|
"documentation": {
|
|
3607
3605
|
"kind": "markdown",
|
|
3608
|
-
"value": "將點陣列作為座標,從字典建構折線物件。\n\n**參數**\n\n- **geometryDefinition**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 從中建構折線幾何物件的屬性。\n\n - **paths**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 路徑 (或線段) 的陣列,其中每個路徑都是一個點物件陣列。\n\n - **path**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 表示線段或路徑的點陣列。\n - **hasM**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 m 值。\n - **hasZ**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 z 值。\n - **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 幾何的空間參考。\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 地理或投影座標系統的已知 ID,用於定義繪製幾何的參考。\n\n**返回值**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline)"
|
|
3606
|
+
"value": "將點陣列作為座標,從字典建構折線物件。\n\n**參數**\n\n- **geometryDefinition**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 從中建構折線幾何物件的屬性。\n\n - **paths**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 路徑 (或線段) 的陣列,其中每個路徑都是一個點物件陣列。\n\n - **path**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> - 表示線段或路徑的點陣列。\n - **curvePaths**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試__Since version 1.25 in ArcGIS Pro and ArcGIS Maps SDKs for Native Apps._ An array of paths (or line segments) that may contain curves____________________________________________________________________驗.\n\n - **path**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_An array of vertices or curve objects in a path_________________________驗.\n\n - **vertex**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - 試_A point representing a vertex in a path_____________________驗.\n - **curve**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 試_A curve object that represents a segment of a path. The curve object has the following properties__________________________________________________驗:\n\n - **a**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_Defines an elliptic or circular arc. Circular arcs have four elements in the array; elliptic arcs must have 7 elements_____________________________________________________________驗.\n - **b**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_Represents a cubic Bézier curve. This is defined by an array of three arrays representing an end point and two control points________________________________________________________________驗.\n - **c**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - 試_The c property represents an open circular arc. This is defined as an array of two double-precision values representing the x and y coordinates of the center of the circle_______________________________________________________________________________________驗.\n - **hasM**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 m 值。\n - **hasZ**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - 指示幾何是否有 z 值。\n - **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - 幾何的空間參考。\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 地理或投影座標系統的已知 ID,用於定義繪製幾何的參考。\n\n**返回值**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline)\n\n##### 其他資源\n\n* [Curve objects](https://developers.arcgis.com/rest/services-reference/enterprise/geometry-objects/#curve-objects)\n"
|
|
3609
3607
|
}
|
|
3610
3608
|
},
|
|
3611
3609
|
"parametersInfo": {
|
|
@@ -3618,7 +3616,7 @@
|
|
|
3618
3616
|
"name": "polyline",
|
|
3619
3617
|
"bundle": "geometry",
|
|
3620
3618
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#polyline3",
|
|
3621
|
-
"description": "從序列化的 JSON 文字建構折線物件。 JSON 結構描述必須遵循折線物件的 ArcGIS REST API JSON 規格。",
|
|
3619
|
+
"description": "從序列化的 JSON 文字建構折線物件。 JSON 結構描述必須遵循折線物件的 ArcGIS REST API JSON 規格。 試_JSON text may contain curve objects in ArcGIS Pro and ArcGIS Maps SDKs for Native Apps starting at version 1.25_________________________________________________________驗.",
|
|
3622
3620
|
"examples": "\n##### 範例\n\n\n\n```arcade\n// Creates a Polyline object\nvar polylineJSON = '{\"paths\": [[[-97.06138,32.837],[-97.06133,32.836],[-97.06124,32.834],[-97.06127,32.832]], [[-97.06326,32.759],[-97.06298,32.755]]], \"spatialReference\": { \"wkid\": 3857 } }'\nPolyline(polylineJSON);\n```\n\n",
|
|
3623
3621
|
"completion": {
|
|
3624
3622
|
"label": "Polyline",
|
|
@@ -3629,7 +3627,7 @@
|
|
|
3629
3627
|
"kind": 3,
|
|
3630
3628
|
"documentation": {
|
|
3631
3629
|
"kind": "markdown",
|
|
3632
|
-
"value": "從序列化的 JSON 文字建構折線物件。 JSON 結構描述必須遵循折線物件的 ArcGIS REST API JSON
|
|
3630
|
+
"value": "從序列化的 JSON 文字建構折線物件。 JSON 結構描述必須遵循折線物件的 ArcGIS REST API JSON 規格。 試_JSON text may contain curve objects in ArcGIS Pro and ArcGIS Maps SDKs for Native Apps starting at version 1.25_________________________________________________________驗.\n\n**參數**\n\n- **jsonDefinition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 從中建構折線幾何物件的 JSON 文字。\n\n**返回值**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline)\n\n##### 其他資源\n\n* [ArcGIS REST API JSON specification for Polyline objects](https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#POLYLINE)\n"
|
|
3633
3631
|
}
|
|
3634
3632
|
},
|
|
3635
3633
|
"parametersInfo": {
|
|
@@ -4155,7 +4153,7 @@
|
|
|
4155
4153
|
"kind": 3,
|
|
4156
4154
|
"documentation": {
|
|
4157
4155
|
"kind": "markdown",
|
|
4158
|
-
"value": "傳回 x 冪數的 e 值,其中 e 是自然對數的基數,即 `2.718281828`。\n\n**參數**\n\n- **x**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) -
|
|
4156
|
+
"value": "傳回 x 冪數的 e 值,其中 e 是自然對數的基數,即 `2.718281828`。\n\n**參數**\n\n- **x**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 冪數,或乘以 `e` 及其本身的倍數。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
4159
4157
|
}
|
|
4160
4158
|
},
|
|
4161
4159
|
"parametersInfo": {
|
|
@@ -4476,7 +4474,7 @@
|
|
|
4476
4474
|
"kind": 3,
|
|
4477
4475
|
"documentation": {
|
|
4478
4476
|
"kind": "markdown",
|
|
4479
|
-
"value": "傳回輸入值,捨去至指定的小數位數。 \n_附註: 如果您正在試著設定值格式,以便在標籤或快顯視窗中顯示,請使用 `Text()` 函數。_\n\n**參數**\n\n- **value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 要捨去的數字。\n- **numPlaces** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 要將數字捨去到的小數位數。 預設為 `0`。 將截斷尾端的零。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
4477
|
+
"value": "傳回輸入值,捨去至指定的小數位數。 \n_附註: 如果您正在試著設定值格式,以便在標籤或快顯視窗中顯示,請使用 `Text()` 函數。_\n\n**參數**\n\n- **value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 要捨去的數字。\n- **numPlaces** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 要將數字捨去到的小數位數。 預設為 `0`。 將截斷尾端的零。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [Text()](https://developers.arcgis.com/arcade/function-reference/text_functions/#text)\n"
|
|
4480
4478
|
}
|
|
4481
4479
|
},
|
|
4482
4480
|
"parametersInfo": {
|
|
@@ -4728,7 +4726,7 @@
|
|
|
4728
4726
|
"kind": 3,
|
|
4729
4727
|
"documentation": {
|
|
4730
4728
|
"kind": "markdown",
|
|
4731
|
-
"value": "將值串連在一起並傳回一個文字值。\n\n**參數**\n\n- **values** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 要串連的文字值的陣列。\n- **separator** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 若 `values` 參數是陣列,則為使用於串連的分隔符號。 或若為第一個參數提供單一值,則為要串連的文字。 若未提供,則為空白。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 日期或數字的特殊格式字元。 此參數適用於 Arcade 1.3 和更高版本。 \n可能值: \n - `0`: 數字 \n - `#`: 數字,省略前導/尾隨零 \n - `D`: 月中日期,未填充 (1 - 31) \n - `DD`: 月中日期,填充 (01 - 31) \n - `DDD`: 年中的第幾天 (1 - 365) \n - `d`: 星期幾 (1 - 7) \n - `ddd`: 星期的縮寫 (例如 Mon) \n - `dddd`: 週的全天 (例如 Monday) \n - `M`: 月份 (1 - 12) \n - `MM`: 月份數,填充 (01 - 12) \n - `MMM`: 縮寫月份名稱 (例如 Jan) \n - `MMMM`: 完整的月份名稱 (例如 January) \n - `Y`: 全年 \n - `YY`: 兩位數年份 \n - `h`:
|
|
4729
|
+
"value": "將值串連在一起並傳回一個文字值。\n\n**參數**\n\n- **values** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - 要串連的文字值的陣列。\n- **separator** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 若 `values` 參數是陣列,則為使用於串連的分隔符號。 或若為第一個參數提供單一值,則為要串連的文字。 若未提供,則為空白。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 日期或數字的特殊格式字元。 此參數適用於 Arcade 1.3 和更高版本。 \n可能值: \n - `0`: 數字 \n - `#`: 數字,省略前導/尾隨零 \n - `D`: 月中日期,未填充 (1 - 31) \n - `DD`: 月中日期,填充 (01 - 31) \n - `DDD`: 年中的第幾天 (1 - 365) \n - `d`: 星期幾 (1 - 7) \n - `ddd`: 星期的縮寫 (例如 Mon) \n - `dddd`: 週的全天 (例如 Monday) \n - `M`: 月份 (1 - 12) \n - `MM`: 月份數,填充 (01 - 12) \n - `MMM`: 縮寫月份名稱 (例如 Jan) \n - `MMMM`: 完整的月份名稱 (例如 January) \n - `Y`: 全年 \n - `YY`: 兩位數年份 \n 試_- `h`: Civilian hours, not padded (1 - 12)________________________驗 \n 試_- `hh`: Civilian hours, padded (01 - 12)_______________________驗 \n 試_- `H`: Military hours, not padded (0 - 23)________________________驗 \n 試_- `HH`: Military hours, padded (00 - 23)_______________________驗 \n - `m`: 分鐘,未填充 (0 - 59) \n - `mm`: 分鐘,填充 (00 - 59) \n - `s`: 秒,未填充 (0 - 59) \n - `ss`: 秒,填充 (00 - 59) \n - `SSS`: 毫秒,已填補 (000 - 999) \n - `A`: AM/PM \n - `Z`: 狹窄時數內的時區偏移 +/- UTC (例如 `-7` 或 `+11`) \n - `ZZ`: 時數內的時區偏移 +/- UTC (例如 `-07:00` 或 `+11:00`) \n - `ZZZ`: 精簡時數內的時區偏移 +/- UTC (例如 `-0700` 或 `+1100`) \n - `ZZZZ`: 縮寫的指定時區 (例如 `EST`) \n - `ZZZZZ`: 指定的時區 (例如 `Eastern Standard Time`) \n\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
4732
4730
|
}
|
|
4733
4731
|
},
|
|
4734
4732
|
"parametersInfo": {
|
|
@@ -5068,7 +5066,7 @@
|
|
|
5068
5066
|
"kind": 3,
|
|
5069
5067
|
"documentation": {
|
|
5070
5068
|
"kind": "markdown",
|
|
5071
|
-
"value": "將任何值轉換為文字值。 提供可選的 `format` 參數以允許格式化日期和數字資料輸入。 如果無法確定等效的文字轉換,則傳回 `null`。\n\n**參數**\n\n- **value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - 要轉換為文字的值 (即日期、數字或其他資料類型)
|
|
5069
|
+
"value": "將任何值轉換為文字值。 提供可選的 `format` 參數以允許格式化日期和數字資料輸入。 如果無法確定等效的文字轉換,則傳回 `null`。\n\n**參數**\n\n- **value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - 要轉換為文字的值 (即日期、數字或其他資料類型)。 試_Starting at version 1.25, Polygon or Polyline inputs may return JSON containing curve objects when executed in ArcGIS Pro and ArcGIS Maps SDKs for Native Apps_________________________________________________________________________________驗.\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用於格式化日期或數字的特殊字元。 \n可能值: \n - `0`: 數字 \n - `#`: 數字,省略前導/尾隨零 \n - `D`: 月中日期,未填充 (1 - 31) \n - `DD`: 月中日期,填充 (01 - 31) \n - `DDD`: 年中的第幾天 (1 - 365) \n - `d`: 星期幾 (1 - 7) \n - `ddd`: 星期的縮寫 (例如 Mon) \n - `dddd`: 週的全天 (例如 Monday) \n - `M`: 月份 (1 - 12) \n - `MM`: 月份數,填充 (01 - 12) \n - `MMM`: 縮寫月份名稱 (例如 Jan) \n - `MMMM`: 完整的月份名稱 (例如 January) \n - `Y`: 全年 \n - `YY`: 兩位數年份 \n 試_- `h`: Civilian hours, not padded (1 - 12)________________________驗 \n 試_- `hh`: Civilian hours, padded (01 - 12)_______________________驗 \n 試_- `H`: Military hours, not padded (0 - 23)________________________驗 \n 試_- `HH`: Military hours, padded (00 - 23)_______________________驗 \n - `m`: 分鐘,未填充 (0 - 59) \n - `mm`: 分鐘,填充 (00 - 59) \n - `s`: 秒,未填充 (0 - 59) \n - `ss`: 秒,填充 (00 - 59) \n - `SSS`: 毫秒,已填補 (000 - 999) \n - `A`: AM/PM \n - `Z`: 狹窄時數內的時區偏移 +/- UTC (例如 `-7` 或 `+11`) \n - `ZZ`: 時數內的時區偏移 +/- UTC (例如 `-07:00` 或 `+11:00`) \n - `ZZZ`: 精簡時數內的時區偏移 +/- UTC (例如 `-0700` 或 `+1100`) \n - `ZZZZ`: 縮寫的指定時區 (例如 `EST`) \n - `ZZZZZ`: 指定的時區 (例如 `Eastern Standard Time`) \n\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
5072
5070
|
}
|
|
5073
5071
|
},
|
|
5074
5072
|
"parametersInfo": {
|
|
@@ -5247,7 +5245,7 @@
|
|
|
5247
5245
|
"kind": 3,
|
|
5248
5246
|
"documentation": {
|
|
5249
5247
|
"kind": "markdown",
|
|
5250
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n變更用於顯示給定日期值的時區。 如果輸入 `dateValue` 具有 `unknown` 時區,則輸出日期值將顯示與輸入 `dateValue` 相同的日期和時間,但會指派 `newTimeZone`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 包含日期和時間資訊的日期值。\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 將用於顯示指定日期值的新時區。 時區必須是以下之一:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
5248
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n變更用於顯示給定日期值的時區。 如果輸入 `dateValue` 具有 `unknown` 時區,則輸出日期值將顯示與輸入 `dateValue` 相同的日期和時間,但會指派 `newTimeZone`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 包含日期和時間資訊的日期值。\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 將用於顯示指定日期值的新時區。 時區必須是以下之一:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)\n\n##### 其他資源\n\n* [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)\n* [Arcade execution context](https://developers.arcgis.com/arcade/guide/profiles/#execution-context)\n* [ToLocal()](https://developers.arcgis.com/arcade/function-reference/date_functions/#tolocal)\n* [ToUTC()](https://developers.arcgis.com/arcade/function-reference/date_functions/#toutc)\n"
|
|
5251
5249
|
}
|
|
5252
5250
|
},
|
|
5253
5251
|
"parametersInfo": {
|
|
@@ -5272,7 +5270,7 @@
|
|
|
5272
5270
|
"kind": 3,
|
|
5273
5271
|
"documentation": {
|
|
5274
5272
|
"kind": "markdown",
|
|
5275
|
-
"value": "從一組參數建立一個日期物件。 預設情況下,日期是在設定檔的執行內容的時區中建立的。\n\n**參數**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 代表一年的一個數字。\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 月 (0-11),其中 `0` 是一月,`11` 是十二月。\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 月中日期 (1-31)。\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 日中小時 (0-23)。\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 小時的分鐘 (0-59)。\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 分鐘的秒 (0-59)。\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 秒的毫秒 (0-999)。\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _自 1.24 開始_ 日期的時區。 若未指定,則將在設定檔的執行內容的預設時區中建立日期。 可能值:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
5273
|
+
"value": "從一組參數建立一個日期物件。 預設情況下,日期是在設定檔的執行內容的時區中建立的。\n\n**參數**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 代表一年的一個數字。\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 月 (0-11),其中 `0` 是一月,`11` 是十二月。\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 月中日期 (1-31)。\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 日中小時 (0-23)。\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 小時的分鐘 (0-59)。\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 分鐘的秒 (0-59)。\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 秒的毫秒 (0-999)。\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _自 1.24 開始_ 日期的時區。 若未指定,則將在設定檔的執行內容的預設時區中建立日期。 可能值:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)\n\n##### 其他資源\n\n* [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)\n* [Arcade execution context](https://developers.arcgis.com/arcade/guide/profiles/#execution-context)\n"
|
|
5276
5274
|
}
|
|
5277
5275
|
},
|
|
5278
5276
|
"parametersInfo": {
|
|
@@ -5285,7 +5283,7 @@
|
|
|
5285
5283
|
"name": "date",
|
|
5286
5284
|
"bundle": "core",
|
|
5287
5285
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#date2",
|
|
5288
|
-
"description": "
|
|
5286
|
+
"description": "試_Creates a Date with the given Unix epoch number. By default, the Date will display in the time zone of the profile's execution context. If no epoch is provided, creates a Date at the current date and time in the default time zone of the profile. If a `null` value is provided for the epoch, it will be implicitly cast to `0` and will return the date for January 1, 1970 UTC____________________________________________________________________________________________________________________________________________________________________________________________驗.",
|
|
5289
5287
|
"examples": "\n##### 範例\n\n自 1970 年 1 月 1 日以來的毫秒數\n\n```arcade\nDate(1476987783555) // 'Thu Oct 20 2016 11:23:03 GMT-0700 (PDT)'\n```\n\n建立日期,表示執行 Arcade 的設定檔之執行內容的時區中的目前時間\n\n```arcade\n// Date represents Jan 27, 2023, 12:41:20 PM PST\nDate()\n```\n\n",
|
|
5290
5288
|
"completion": {
|
|
5291
5289
|
"label": "Date",
|
|
@@ -5296,7 +5294,7 @@
|
|
|
5296
5294
|
"kind": 3,
|
|
5297
5295
|
"documentation": {
|
|
5298
5296
|
"kind": "markdown",
|
|
5299
|
-
"value": "
|
|
5297
|
+
"value": "試_Creates a Date with the given Unix epoch number. By default, the Date will display in the time zone of the profile's execution context. If no epoch is provided, creates a Date at the current date and time in the default time zone of the profile. If a `null` value is provided for the epoch, it will be implicitly cast to `0` and will return the date for January 1, 1970 UTC____________________________________________________________________________________________________________________________________________________________________________________________驗.\n\n**參數**\n\n- **epoch** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - 自 1970 年 1 月 1 日 UTC 後經過的毫秒數。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)\n\n##### 其他資源\n\n* [Arcade execution context](https://developers.arcgis.com/arcade/guide/profiles/#execution-context)\n* [Now()](https://developers.arcgis.com/arcade/function-reference/date_functions/#date)\n* [Timestamp()](https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp)\n* [Today()](https://developers.arcgis.com/arcade/function-reference/date_functions/#today)\n"
|
|
5300
5298
|
}
|
|
5301
5299
|
},
|
|
5302
5300
|
"parametersInfo": {
|
|
@@ -5345,7 +5343,7 @@
|
|
|
5345
5343
|
"kind": 3,
|
|
5346
5344
|
"documentation": {
|
|
5347
5345
|
"kind": "markdown",
|
|
5348
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從 DateOnly 值建立日期,並包含可選的時間和時區值。\n\n**參數**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 用於建立日期值的 DateOnly 值。\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 日期的時間值。 若未指定,將使用時間 `00:00:00` 建立日期。\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 日期的時區。 若未指定,將在 `unknown` 時區中建立日期。 可能值:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
5346
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從 DateOnly 值建立日期,並包含可選的時間和時區值。\n\n**參數**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 用於建立日期值的 DateOnly 值。\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - 日期的時間值。 若未指定,將使用時間 `00:00:00` 建立日期。\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 日期的時區。 若未指定,將在 `unknown` 時區中建立日期。 可能值:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)\n\n##### 其他資源\n\n* [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)\n* [Arcade execution context](https://developers.arcgis.com/arcade/guide/profiles/#execution-context)\n"
|
|
5349
5347
|
}
|
|
5350
5348
|
},
|
|
5351
5349
|
"parametersInfo": {
|
|
@@ -5472,7 +5470,7 @@
|
|
|
5472
5470
|
"kind": 3,
|
|
5473
5471
|
"documentation": {
|
|
5474
5472
|
"kind": "markdown",
|
|
5475
|
-
"value": "減去兩個日期,並傳回指定單位中的差異。\n\n**參數**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 要從中減去第二個日期的日期值。\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 從第一個指定日期減去的日期值。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用來傳回兩個給定日期差的單位。 支援的單位類型包括 `milliseconds`、`seconds`、`minutes`、`hours`、`days`、`months`、`years`。 預設值是 `milliseconds`。\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _自 1.24 版開始_ 指派給時區未知的輸入日期的時區。 如果未指定,則會發生以下情況: (1) 如果一個輸入具有已定義的時區,而另一個輸入未知,則具有未知時區的值將採用與另一個輸入相符的時區。 (2) 如果兩個輸入都是未知時區,則將在兩個日期上計算 DateDiff,就好像它們是在同一時區中定義的一樣。 可能值:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5473
|
+
"value": "減去兩個日期,並傳回指定單位中的差異。\n\n**參數**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 要從中減去第二個日期的日期值。\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 從第一個指定日期減去的日期值。\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 用來傳回兩個給定日期差的單位。 支援的單位類型包括 `milliseconds`、`seconds`、`minutes`、`hours`、`days`、`months`、`years`。 預設值是 `milliseconds`。\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _自 1.24 版開始_ 指派給時區未知的輸入日期的時區。 如果未指定,則會發生以下情況: (1) 如果一個輸入具有已定義的時區,而另一個輸入未知,則具有未知時區的值將採用與另一個輸入相符的時區。 (2) 如果兩個輸入都是未知時區,則將在兩個日期上計算 DateDiff,就好像它們是在同一時區中定義的一樣。 可能值:\n\n - 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n - 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n - `system` - 時區將設定為裝置或系統的本地時區\n\n - `default` - 設定檔的執行內容的時區\n\n - `UTC` - 座標通用時間\n\n - `unknown` - 移除指定值的時區資訊,並顯示表達式中定義的日期和時間。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)\n* [Arcade execution context](https://developers.arcgis.com/arcade/guide/profiles/#execution-context)\n"
|
|
5476
5474
|
}
|
|
5477
5475
|
},
|
|
5478
5476
|
"parametersInfo": {
|
|
@@ -5549,7 +5547,7 @@
|
|
|
5549
5547
|
"kind": 3,
|
|
5550
5548
|
"documentation": {
|
|
5551
5549
|
"kind": "markdown",
|
|
5552
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據設定檔的執行內容的時區中的目前日期來建立 DateOnly 值。\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)"
|
|
5550
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n根據設定檔的執行內容的時區中的目前日期來建立 DateOnly 值。\n\n**返回值**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly)\n\n##### 其他資源\n\n* [Arcade execution context](https://developers.arcgis.com/arcade/guide/profiles/#execution-context)\n"
|
|
5553
5551
|
}
|
|
5554
5552
|
},
|
|
5555
5553
|
"parametersInfo": {
|
|
@@ -5901,7 +5899,7 @@
|
|
|
5901
5899
|
"kind": 3,
|
|
5902
5900
|
"documentation": {
|
|
5903
5901
|
"kind": "markdown",
|
|
5904
|
-
"value": "傳回指定日期的月份。 值範圍從 0-11,其中一月是 `0`,十二月是 `11`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得月份的日期值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5902
|
+
"value": "傳回指定日期的月份。 值範圍從 0-11,其中一月是 `0`,十二月是 `11`。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) \\| [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - 從中取得月份的日期值。 從版本 1.24 開始支援 DateOnly 值。\n\n**返回值**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n##### 其他資源\n\n* [ISOMonth()](https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth)\n"
|
|
5905
5903
|
}
|
|
5906
5904
|
},
|
|
5907
5905
|
"parametersInfo": {
|
|
@@ -5925,7 +5923,7 @@
|
|
|
5925
5923
|
"kind": 3,
|
|
5926
5924
|
"documentation": {
|
|
5927
5925
|
"kind": "markdown",
|
|
5928
|
-
"value": "建立日期值,表示設定檔之執行內容的時區中的目前日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
5926
|
+
"value": "建立日期值,表示設定檔之執行內容的時區中的目前日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)\n\n##### 其他資源\n\n* [Arcade execution context](https://developers.arcgis.com/arcade/guide/profiles/#execution-context)\n* [Date()](https://developers.arcgis.com/arcade/function-reference/date_functions/#date)\n* [Timestamp()](https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp)\n* [Today()](https://developers.arcgis.com/arcade/function-reference/date_functions/#today)\n"
|
|
5929
5927
|
}
|
|
5930
5928
|
},
|
|
5931
5929
|
"parametersInfo": {
|
|
@@ -5977,7 +5975,7 @@
|
|
|
5977
5975
|
"kind": 3,
|
|
5978
5976
|
"documentation": {
|
|
5979
5977
|
"kind": "markdown",
|
|
5980
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立時間值,表示設定檔之執行內容的時區中的目前時間。\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
|
|
5978
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立時間值,表示設定檔之執行內容的時區中的目前時間。\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)\n\n##### 其他資源\n\n* [Arcade execution context](https://developers.arcgis.com/arcade/guide/profiles/#execution-context)\n"
|
|
5981
5979
|
}
|
|
5982
5980
|
},
|
|
5983
5981
|
"parametersInfo": {
|
|
@@ -6052,7 +6050,7 @@
|
|
|
6052
6050
|
"kind": 3,
|
|
6053
6051
|
"documentation": {
|
|
6054
6052
|
"kind": "markdown",
|
|
6055
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從表示時間的文字輸入中建立時間值,並選擇性使用指示文字格式的輸入。\n\n**參數**\n\n- **textValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 表示時間的文字值。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指示 `timeValue` 輸入格式的文字值。 \n可能值: \n - `h`:
|
|
6053
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從表示時間的文字輸入中建立時間值,並選擇性使用指示文字格式的輸入。\n\n**參數**\n\n- **textValue**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 表示時間的文字值。\n- **format** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 指示 `timeValue` 輸入格式的文字值。 \n可能值: \n 試_- `h`: Civilian hours, not padded (1 - 12)________________________驗 \n 試_- `hh`: Civilian hours, padded (01 - 12)_______________________驗 \n 試_- `H`: Military hours, not padded (0 - 23)________________________驗 \n 試_- `HH`: Military hours, padded (00 - 23)_______________________驗 \n - `m`: 分鐘,未填充 (0 - 59) \n - `mm`: 分鐘,填充 (00 - 59) \n - `s`: 秒,未填充 (0 - 59) \n - `ss`: 秒,填充 (00 - 59) \n - `A`: AM/PM \n\n\n**返回值**: [Time](https://developers.arcgis.com/arcade/guide/types/#time)"
|
|
6056
6054
|
}
|
|
6057
6055
|
},
|
|
6058
6056
|
"parametersInfo": {
|
|
@@ -6128,7 +6126,7 @@
|
|
|
6128
6126
|
"kind": 3,
|
|
6129
6127
|
"documentation": {
|
|
6130
6128
|
"kind": "markdown",
|
|
6131
|
-
"value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立日期值,表示 UTC 中的目前日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
6129
|
+
"value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立日期值,表示 UTC 中的目前日期和時間。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)\n\n##### 其他資源\n\n* [Date()](https://developers.arcgis.com/arcade/function-reference/date_functions/#date)\n* [Now()](https://developers.arcgis.com/arcade/function-reference/date_functions/#now)\n* [Today()](https://developers.arcgis.com/arcade/function-reference/date_functions/#today)\n"
|
|
6132
6130
|
}
|
|
6133
6131
|
},
|
|
6134
6132
|
"parametersInfo": {
|
|
@@ -6153,7 +6151,7 @@
|
|
|
6153
6151
|
"kind": 3,
|
|
6154
6152
|
"documentation": {
|
|
6155
6153
|
"kind": "markdown",
|
|
6156
|
-
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指定日期的時區。 時區將是以下之一:\n\n- 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n- 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n- `system` - 時區將基於用戶端或系統的本地時區\n\n- `UTC` - 座標通用時間\n\n- `Unknown` - 未定義時區資訊。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 從中取得時區的日期值。\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
6154
|
+
"value": "**[自版本 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n傳回指定日期的時區。 時區將是以下之一:\n\n- 代表 IANA 時區資料庫中項目的文字 (例如 `America/New_York`)\n\n- 表示應新增到 UTC 的小時和分鐘的文字 (例如 `+07:00` 或 `-03:00`)\n\n- `system` - 時區將基於用戶端或系統的本地時區\n\n- `UTC` - 座標通用時間\n\n- `Unknown` - 未定義時區資訊。\n\n**參數**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 從中取得時區的日期值。\n\n**返回值**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)\n\n##### 其他資源\n\n* [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)\n"
|
|
6157
6155
|
}
|
|
6158
6156
|
},
|
|
6159
6157
|
"parametersInfo": {
|
|
@@ -6202,7 +6200,7 @@
|
|
|
6202
6200
|
"kind": 3,
|
|
6203
6201
|
"documentation": {
|
|
6204
6202
|
"kind": "markdown",
|
|
6205
|
-
"value": "傳回設定檔的執行內容所在時區的目前日期午夜。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
6203
|
+
"value": "傳回設定檔的執行內容所在時區的目前日期午夜。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)\n\n##### 其他資源\n\n* [Arcade execution context](https://developers.arcgis.com/arcade/guide/profiles/#execution-context)\n* [DateOnly()](https://developers.arcgis.com/arcade/function-reference/date_functions/#dateonly)\n* [Date()](https://developers.arcgis.com/arcade/function-reference/date_functions/#date)\n* [Timestamp()](https://developers.arcgis.com/arcade/function-reference/date_functions/#timestamp)\n* [Now()](https://developers.arcgis.com/arcade/function-reference/date_functions/#now)\n"
|
|
6206
6204
|
}
|
|
6207
6205
|
},
|
|
6208
6206
|
"parametersInfo": {
|
|
@@ -6227,7 +6225,7 @@
|
|
|
6227
6225
|
"kind": 3,
|
|
6228
6226
|
"documentation": {
|
|
6229
6227
|
"kind": "markdown",
|
|
6230
|
-
"value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立與輸入日期的紀元相符的新日期值,並將時區設為用戶端的本地或系統時區。\n\n**參數**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 以用戶端當地時間表示的日期值。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
6228
|
+
"value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立與輸入日期的紀元相符的新日期值,並將時區設為用戶端的本地或系統時區。\n\n**參數**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 以用戶端當地時間表示的日期值。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)\n\n##### 其他資源\n\n* [ChangeTimeZone()](https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone)\n"
|
|
6231
6229
|
}
|
|
6232
6230
|
},
|
|
6233
6231
|
"parametersInfo": {
|
|
@@ -6252,7 +6250,7 @@
|
|
|
6252
6250
|
"kind": 3,
|
|
6253
6251
|
"documentation": {
|
|
6254
6252
|
"kind": "markdown",
|
|
6255
|
-
"value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立與輸入日期的紀元相符的新日期值,並將時區設為 UTC (座標通用時間)。\n\n**參數**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 以 UTC 時間表示的日期值。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
6253
|
+
"value": "**[自版本 1.1](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n建立與輸入日期的紀元相符的新日期值,並將時區設為 UTC (座標通用時間)。\n\n**參數**\n\n- **inputDate**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - 以 UTC 時間表示的日期值。\n\n**返回值**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)\n\n##### 其他資源\n\n* [ChangeTimeZone()](https://developers.arcgis.com/arcade/function-reference/date_functions/#changetimezone)\n"
|
|
6256
6254
|
}
|
|
6257
6255
|
},
|
|
6258
6256
|
"parametersInfo": {
|
|
@@ -6346,7 +6344,7 @@
|
|
|
6346
6344
|
"sinceVersion": "1.26",
|
|
6347
6345
|
"link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#knowledgegraphbyportalitem",
|
|
6348
6346
|
"description": "從入口網站項目中傳回知識圖。",
|
|
6349
|
-
"examples": "\n##### 範例\n\n從入口網站項目中傳回知識圖。\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.
|
|
6347
|
+
"examples": "\n##### 範例\n\n從入口網站項目中傳回知識圖。\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.example.com/arcgis'), // enterprise portal\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
|
|
6350
6348
|
"completion": {
|
|
6351
6349
|
"label": "KnowledgeGraphByPortalItem",
|
|
6352
6350
|
"detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
|
|
@@ -6356,7 +6354,7 @@
|
|
|
6356
6354
|
"kind": 3,
|
|
6357
6355
|
"documentation": {
|
|
6358
6356
|
"kind": "markdown",
|
|
6359
|
-
"value": "**[自版本 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從入口網站項目中傳回知識圖。\n\n**參數**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - 從中查詢圖徵的入口網站。\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 參考知識圖服務的入口網站項目的 GUID。 _此值必須是文字常值。_\n\n**返回值**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
|
|
6357
|
+
"value": "**[自版本 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n從入口網站項目中傳回知識圖。\n\n**參數**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - 從中查詢圖徵的入口網站。\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 參考知識圖服務的入口網站項目的 GUID。 _此值必須是文字常值。_\n\n**返回值**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)\n\n##### 其他資源\n\n* [Get started with ArcGIS Knowledge Server](https://enterprise.arcgis.com/en/knowledge/latest/introduction/get-started-with-arcgis-knowledge.htm)\n* [Get started with ArcGIS Knowledge (ArcGIS Pro)](https://pro.arcgis.com/en/pro-app/latest/help/data/knowledge/get-started-with-arcgis-knowledge.htm)\n* [Introduction to knowledge graph service in the ArcGIS Maps SDK for JavaScript](https://developers.arcgis.com/javascript/latest/knowledge-graph/knowledge-graph-intro/)\n"
|
|
6360
6358
|
}
|
|
6361
6359
|
},
|
|
6362
6360
|
"parametersInfo": {
|
|
@@ -6381,7 +6379,7 @@
|
|
|
6381
6379
|
"kind": 3,
|
|
6382
6380
|
"documentation": {
|
|
6383
6381
|
"kind": "markdown",
|
|
6384
|
-
"value": "**[自版本 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n使用 openCypher 查詢來查詢知識圖,並傳回圖形中的實體和關係集及其屬性。\n\n**參數**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - 要查詢的知識圖。\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 要針對知識圖執行的 openCypher 查詢。\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - openCypher 查詢的指定查詢參數的字典。 字典中的參數名稱或索引鍵區分大小寫。 接受的參數取決於外部圖形儲存庫,並且可以是以下類型: `Array`、`Date`、`Dictionary`、`Geometry`、`Number`、`Text`\n\n**返回值**: Array"
|
|
6382
|
+
"value": "**[自版本 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n使用 openCypher 查詢來查詢知識圖,並傳回圖形中的實體和關係集及其屬性。\n\n**參數**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - 要查詢的知識圖。\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - 要針對知識圖執行的 openCypher 查詢。\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - openCypher 查詢的指定查詢參數的字典。 字典中的參數名稱或索引鍵區分大小寫。 接受的參數取決於外部圖形儲存庫,並且可以是以下類型: `Array`、`Date`、`Dictionary`、`Geometry`、`Number`、`Text`\n\n**返回值**: Array\n\n##### 其他資源\n\n* [Get started with ArcGIS Knowledge Server](https://enterprise.arcgis.com/en/knowledge/latest/introduction/get-started-with-arcgis-knowledge.htm)\n* [Get started with ArcGIS Knowledge (ArcGIS Pro)](https://pro.arcgis.com/en/pro-app/latest/help/data/knowledge/get-started-with-arcgis-knowledge.htm)\n* [Introduction to knowledge graph service in the ArcGIS Maps SDK for JavaScript](https://developers.arcgis.com/javascript/latest/knowledge-graph/knowledge-graph-intro/)\n"
|
|
6385
6383
|
}
|
|
6386
6384
|
},
|
|
6387
6385
|
"parametersInfo": {
|
|
@@ -6830,22 +6828,22 @@
|
|
|
6830
6828
|
"name": "decode",
|
|
6831
6829
|
"bundle": "core",
|
|
6832
6830
|
"link": "https://developers.arcgis.com/arcade/function-reference/logical_functions/#decode",
|
|
6833
|
-
"description": "將表達式演算成一個值,並將結果值與後續參數值做比較。 若將表達式演算成符合的值,它會傳回後續的參數值。
|
|
6831
|
+
"description": "將表達式演算成一個值,並將結果值與後續參數值做比較。 若將表達式演算成符合的值,它會傳回後續的參數值。 試_If no matches are found, then the `default` value will be returned. This is similar to a switch/case statement_________________________________________________________驗.",
|
|
6834
6832
|
"examples": "\n##### 範例\n\n\n\n```arcade\n// returns a meaningful value when a field contains coded values\nvar code = $feature.codedValue;\nvar decodedValue = Decode(code, 1, 'Residential', 2, 'Commercial', 3, 'Mixed', 'Other');\n```\n\n",
|
|
6835
6833
|
"completion": {
|
|
6836
6834
|
"label": "Decode",
|
|
6837
|
-
"detail": "Decode(expression, [compare1, return1, ..., compareN, returnN]
|
|
6838
|
-
"insertText": "Decode(${1:expression_})$0",
|
|
6835
|
+
"detail": "Decode(expression, [compare1, return1, ..., compareN, returnN], default) -> Any",
|
|
6836
|
+
"insertText": "Decode(${1:expression_}, ${2:[compare1, return1, ..., compareN, returnN]_}, ${3:default_})$0",
|
|
6839
6837
|
"insertTextMode": 2,
|
|
6840
6838
|
"insertTextFormat": 2,
|
|
6841
6839
|
"kind": 3,
|
|
6842
6840
|
"documentation": {
|
|
6843
6841
|
"kind": "markdown",
|
|
6844
|
-
"value": "將表達式演算成一個值,並將結果值與後續參數值做比較。 若將表達式演算成符合的值,它會傳回後續的參數值。
|
|
6842
|
+
"value": "將表達式演算成一個值,並將結果值與後續參數值做比較。 若將表達式演算成符合的值,它會傳回後續的參數值。 試_If no matches are found, then the `default` value will be returned. This is similar to a switch/case statement_________________________________________________________驗.\n\n**參數**\n\n- **expression**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - 一個 Arcade 表達式,其必須運算成一個值,以便與提供的案例值作比較。\n- **[compare1, return1, ..., compareN, returnN]**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - 一組比較值及傳回值配對。\n- **default**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - 若沒有符合的比較值,會傳回預設值。 這可能是任何類型的值。\n\n**返回值**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \n傳回符合的返回值。 若找不到符合項,則傳回 `default` 值。"
|
|
6845
6843
|
}
|
|
6846
6844
|
},
|
|
6847
6845
|
"parametersInfo": {
|
|
6848
|
-
"min":
|
|
6846
|
+
"min": 3,
|
|
6849
6847
|
"max": -1
|
|
6850
6848
|
}
|
|
6851
6849
|
},
|