Feature Collection Calculator

From Pyxis public wiki
Jump to navigation Jump to search



Summary: {{ #if: This process is used with the Feature Coverage Calculator process to calculate the ratio of each feature in a feature collection that is covered by non-null data from a coverage, and to add the result of that calculation as a new field to each of the features in the feature collection.| This process is used with the Feature Coverage Calculator process to calculate the ratio of each feature in a feature collection that is covered by non-null data from a coverage, and to add the result of that calculation as a new field to each of the features in the feature collection. | No summary provided. }}

Input: {{ #if: Input Features |*Input Features (1 and only 1 Feature Collection) A collection of features to perform a calculation on. | This process has no input. }} {{ #if: Input Calculation |*Input Calculation (1 and only 1 Feature Calculator) The calculation to perform on every feature in the collection (based on the Input Coverage of the Feature Coverage Calculator process). }} {{ #if: |*{{{name3}}} ({{{count3}}} [[:Category:{{{type3}}}|{{{type3}}}]]) {{{desc3}}} }} {{ #if: |*{{{name4}}} ({{{count4}}} [[:Category:{{{type4}}}|{{{type4}}}]]) {{{desc4}}} }} {{ #if: |*{{{name5}}} ({{{count5}}} [[:Category:{{{type5}}}|{{{type5}}}]]) {{{desc5}}} }} {{ #if: |*{{{name6}}} ({{{count6}}} [[:Category:{{{type6}}}|{{{type6}}}]]) {{{desc6}}} }} {{ #if: |*{{{name7}}} ({{{count7}}} [[:Category:{{{type7}}}|{{{type7}}}]]) {{{desc7}}} }} {{ #if: |*{{{name8}}} ({{{count8}}} [[:Category:{{{type8}}}|{{{type8}}}]]) {{{desc8}}} }} {{ #if: |*{{{name9}}} ({{{count9}}} [[:Category:{{{type9}}}|{{{type9}}}]]) {{{desc9}}} }}

Output: {{ #if: Feature Collection|Feature Collection|ERROR, NO OUTPUTS SPECIFIED! }} {{ #if: Feature |, Feature }} {{ #if: Record |, Record }} {{ #if: |, [[:Category:{{{output_type4}}}|{{{output_type4}}}]][[Category:{{{output_type4}}}]] }} {{ #if: |, [[:Category:{{{output_type5}}}|{{{output_type5}}}]][[Category:{{{output_type5}}}]] }} {{ #if: |, [[:Category:{{{output_type6}}}|{{{output_type6}}}]][[Category:{{{output_type6}}}]] }} {{ #if: |, [[:Category:{{{output_type7}}}|{{{output_type7}}}]][[Category:{{{output_type7}}}]] }} {{ #if: |, [[:Category:{{{output_type8}}}|{{{output_type8}}}]][[Category:{{{output_type8}}}]] }} {{ #if: |, [[:Category:{{{output_type9}}}|{{{output_type9}}}]][[Category:{{{output_type9}}}]] }}

  • Description: A feature collection that is identical to its input feature collection with the exception that every feature within the collection has a calculated value appended to it.

Attributes: {{ #if: Field Name |*Field Name The title for the new data column that is appended to each of the features in the collection. The Field Name value must be unique with respect to all of the other field names of the input feature collection. | This process has no attributes. }} {{ #if: |*{{{attribute_name2}}} {{{attribute_desc2}}} }} {{ #if: |*{{{attribute_name3}}} {{{attribute_desc3}}} }} {{ #if: |*{{{attribute_name4}}} {{{attribute_desc4}}} }} {{ #if: |*{{{attribute_name5}}} {{{attribute_desc5}}} }} {{ #if: |*{{{attribute_name6}}} {{{attribute_desc6}}} }} {{ #if: |*{{{attribute_name7}}} {{{attribute_desc7}}} }} {{ #if: |*{{{attribute_name8}}} {{{attribute_desc8}}} }} {{ #if: |*{{{attribute_name9}}} {{{attribute_desc9}}} }}

Details

For a detailed example showing one way this process can be used, see the Feature Coverage Calculator process.

If you want, you can export your feature pipeline to a database to store the calculated values.