Receivers From Activities Random

Choose a random receivers for Matsim activities

Overview

Choose the closest building for every Mastim activity in an ACTIVITIES table, and then chose a random receiver previously generated around this building.

Arguments

Mandatory inputs

activitiesTableName of the table containing the activities

Name of the table containing the activities The table must contain the following fields : PK, FACILITY, THE_GEOM, TYPES

Type: String

buildingsTableName of the table containing the buildings

Name of the table containing the buildings The table must contain the following fields : PK, THE_GEOM

Type: String

outTableNameName of created table

Name of the table you want to create The table will contain the following fields : PK, FACILITY, ORIGIN_GEOM, THE_GEOM, TYPES, BUILD_PK

Type: String

receiversTableName of the table containing the receivers

Name of the table containing the receivers The table must contain the following fields : PK, THE_GEOM, BUILD_PK

Type: String

Optional inputs

randomSeedRandom seed

Random seed

Type: Integer

Default: 1234

Output

resultResult output string

This type of result does not allow the blocks to be linked together.

Type: String