|Spatial Calculator / Options|
Converts a specified set of latitude/longitude locations to a line geometry. Output from this operation is a LineString.
|Coordinate system||This field specifies the coordinate system to use for the line geometry.
To change the default coordinate system, clear the default value then start typing the name of a coordinate system or an EPSG code to see a drop-down list of systems that begin with or contain those characters (the list appears after you have entered three alphanumeric characters). You can also click the browse button to open the Select Coordinate System dialog and select one from the list. Regardless of which coordinate system you select, the descriptive name will appear in the field and the respective EPSG code is saved for the stage.
For more information on EPSG codes, see www.spatialreference.org. To retrieve a list of supported codespaces for EPSG, you can submit the SOAP request List Supported CoordSys by Code Space from the Geometry Service Demo page at http://<server>:<port>/Spatial/GeometryService/DemoPage.html.
The field containing the set of latitude/longitude locations to convert to a line geometry. You create this field using an Aggregator stage in Enterprise Designer to construct a list of points that gets passed to Spatial Calculator. This field must be a List of ListFieldType with two subfields Latitude and Longitude:
List of ListFieldType Latitude Longitude
The following example shows the source for two lines in the following format: ID (for example, LINEID), longitude, latitude.
LINEID Longitude Latitude 1 -74.023226 40.638864 1 -74.015887 40.633294 1 -74.026896 40.616027 1 -74.035702 40.606277 2 -73.823238 40.714004 2 -73.816633 40.702877 2 -73.810762 40.693696 2 -73.806358 40.685627 2 -73.800854 40.671713
|Geometry field||The name of the field that you want to contain the line geometry returned by Spatial Calculator.|