Input Points Format - 23.1

Spectrum Dataflow Designer Guide

Version
23.1
Language
English
Product name
Spectrum Technology Platform
Title
Spectrum Dataflow Designer Guide
First publish date
2007
Last updated
2024-05-09
Published on
2024-05-09T23:01:03.226155

When creating a dataflow, configure the Matrix stage first. On the Matrix Options dialog (double-click the Matrix stage in the Spectrum Enterprise Designer to open the dialog), select the Input tab.

On the Input tab, the default Start Geometry selection is Point/Multiple Geometry. To work with points, select Longitude/Latitude (X/Y) and make selections from these options. For details about these options, see Matrix Input. Your selection on the Input tab, preconfigures settings on the other tabs.

After selecting the Longitude/Latitude (X/Y) option on the Input tab in the Matrix stage, the Input Options dialog startx, starty, endx, and endy parameters populate with latitude and longitude points.

These are double value types. You can see the list of double values by selecting one of the startx, starty, endx, and endy parameters on the Input Fields tab and then selecting the Inspection Input tab. The below image displays a 1x1 matrix.

Multiple Matrix

A multiple matrix has more than one start and/or end point, such as a 1x2, 2x1, 2x2, or 3x4 matrix. When there are multiple start or end points the Data Type must be set to List of double (not double) for the startx and starty and/or endx and endy parameters.

  • 1x2 matrix: A 1x2 matrix has one start point and two end points. On the Input Options dialog, Data Type is set to List of double for endx and endy because there are two end points.

    On the Inspection Input tab, the points format will be set to what is shown in this image for a 1x2 matrix.

  • 2x1 matrix: A 2x1 matrix has two start points and one end point. On the Input Options dialog, Data Type is set to List of double for startx and starty because there are two start points.
  • 3x3 matrix: A 3x3 matrix has three start points and three end points. On the Input Options dialog, Data Type is set to List of double for startx, starty, endx, and endy. On the Inspection Input tab, the points format will be set to what is shown in this image for a 3x3 matrix.

To set the Data Type for startx and starty and/or endx and endy to List of double:

  1. On the Input Options dialog (Input Fields tab), select the parameter and then click Modify.
  2. On the Modify Custom Field dialog, click Modify.
  3. On the Modify Field dialog, select List of double from the drop-down list.

Index Value Role and Mapping Input Start and End Points

To determine the index value for start and end points, use the Return Index parameter on the Output tab of the Matrix stage. You can use the values from the response to map a start point from the StartIndex value and end point from the End Index value.

The following example shows two start points to two end points. This 2x2 Matrix provides four (4) matrix routes and an index value for each matrix point.