Skip to content

Commit

Permalink
Rearranging files and directories (Esri#93)
Browse files Browse the repository at this point in the history
* docs: adds link to CONTRIBUTING.md

* Rearranging files and directories to comply with established conventions. Related to  Esri#77 and more

* Fixing solutions name and link

* Rearrenging toolboxes

* Removing unnecesary README.md

* Moving attribute-assistant and dictionary-renderer and removing AttributesRulesTools*
  • Loading branch information
hhkaos authored Oct 9, 2024
1 parent 46cb11b commit 66f12ba
Show file tree
Hide file tree
Showing 187 changed files with 147 additions and 402 deletions.
2 changes: 0 additions & 2 deletions HelperTools/AttributeRulesTools.ApplyIndustryRulesGP.pyt.xml

This file was deleted.

354 changes: 0 additions & 354 deletions HelperTools/AttributeRulesTools.pyt

This file was deleted.

2 changes: 0 additions & 2 deletions HelperTools/AttributeRulesTools.pyt.xml

This file was deleted.

4 changes: 0 additions & 4 deletions Industry/README.md

This file was deleted.

13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# ArcGIS Arcade expressions

This repository is intended for sharing and maintaining reuseable Arcade expressions across all supported profiles.
This repository is intended for sharing and maintaining reuseable Arcade expressions across all supported profiles, and some helper tools to create Arcade Expressions.

## General workflow

These expressions are organized based on their intended [execution profile](https://developers.arcgis.com/arcade/guide/profiles/). The following folders correspond with each profile:

* [Any](./any)
* [Alias](./alias)
* [Calculation](./attribute_rule_calculation)
* [Constraint](./constraint)
* [Dashboard data](./dashboard_data)
* [Form Calculation](./form_calculation/)
* [Attribute rules](./attribute-rules)
* [Dashboard](./dashboard)
* [Form calculation](./form_calculation/)
* [Labeling](./labeling)
* [Popup](./popup)
* [Visualization](./visualization)
Expand All @@ -22,6 +21,10 @@ Click on the desired profile name to view relevant expressions.
Each expression lives in a Markdown file, which contains a general description of the expression, its use case, a depiction of the result, the code to copy, and an example of an executable form of the expression along with its output. It may also include a link to a web map demonstrating the expression in action.

## Helper tools

In [helper-tools](./helper-tools/) you will find tools to help you create Arcade Expressions.

## Resources

* [ArcGIS Arcade Documentation](https://developers.arcgis.com/arcade/guide/)
Expand Down
1 change: 1 addition & 0 deletions any/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ See the list below for shared expressions.
* [Barcode - Gas Component Manufacturer](./barcode-gas/barcode-gas-manufacturer.md)
* [Barcode - Gas Component Material](./barcode-gas/barcode-gas-material.md)
* [Barcode - Gas Component Production Date](./barcode-gas/barcode-gas-productionDate.md)
* [Constraint expressions](./constraint-expressions)
* [Sandbag Wall Estimation - Sandbags](./sandbag-wall-estimation/sandbag-estimate.md)
* [Sandbag Wall Estimation - Sand](./sandbag-wall-estimation/sand-estimate.md)
* [Sandbag Wall Estimation - Sheeting](./sandbag-wall-estimation/sheeting-estimate.md)
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions arcade-expression-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
## Workflow

> Explain the necessary steps to test the expression:
> * Add any notes related to backwards compatibility (e.g. [Calculations across fields](https://github.com/Esri/arcade-expressions/blob/master/dashboard_data/CalculationAcrossFields.md)) (if needed).
> * Add any notes related to backwards compatibility (e.g. [Calculations across fields](./dashboard/dashboard_data/CalculationAcrossFields.md)) (if needed).
> * Specify changes to be made (e.g. [how to replace variables](https://github.com/Esri/arcade-expressions/blob/master/popup/url-basic.md#dynamically-create-a-hyperlink-in-a-popup)).
> * List of the product(s) supported.
> * Configuration requirements (e.g. [attribute rule values](https://github.com/Esri/arcade-expressions/blob/master/attribute_rule_validation/require_reducer.md#workflow), service description, ...).
> * Configuration requirements (e.g. [attribute rule values](./attribute-rules/attribute_rule_validation/require_reducer.md#workflow), service description, ...).
> * Using the provided sample data versus your own data (e.g. [sample vs own data](https://github.com/Esri/arcade-expressions/blob/master/dictionary_renderer/Conduit/Readme.md#workflow)). If sample data is provided, reference it.

Expand All @@ -22,7 +22,7 @@
## Expression Template

> Add any necessary clarifications. Instead of embedding the example code, you may also reference an external file (e.g. [create points along line](https://github.com/Esri/arcade-expressions/blob/master/attribute_rule_calculation/CreatePointsAlongLine.md)).
> Add any necessary clarifications. Instead of embedding the example code, you may also reference an external file (e.g. [create points along line](./attribute-rules/attribute_rule_calculation/CreatePointsAlongLine.md)).
```js
// Your code here (comments are allowed)
Expand Down
41 changes: 41 additions & 0 deletions attribute-rules/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Attribute rules expressions

This folder contains Arcade expression templates and functions that may be used in the [attribute rules profile](https://developers.arcgis.com/arcade/profiles/attribute-rules/).

## General workflow

Each expression lives in a Markdown file, which contains a general description of the expression, its use case, a depiction of the result, the code to copy, and an example of an executable form of the expression along with its output. It may also include a link to a web map demonstrating the expression in action.

See the list below for shared expressions.

* [Attribute rules assistant](./attribute_assistant/)
* [Attribute rules calculation](./attribute_rule_calculation/)
* [Attribute rules constraint](./attribute_rule_constraint/)
* [Attribute rules validation](./attribute_rule_validation/)

## Resources

* [ArcGIS Arcade Documentation](https://developers.arcgis.com/arcade/)
* [ArcGIS Arcade Playground](https://developers.arcgis.com/arcade/playground/)

## Contributing

Esri welcomes [contributions](CONTRIBUTING.md) from anyone and everyone. Please see our [guidelines for contributing](https://github.com/esri/contributing).

## License

Copyright 2024 Esri

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

A copy of the license is available in the repository's [LICENSE](LICENSE) file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 66f12ba

Please sign in to comment.