USCityZipCodeMapGen
The USCityZipCodeMapGen generates cities and zip codes based on based on mapping of city/state/zip.
Generator Parameters
The following parameters may be configured for the USCityZipCodeMapGen Generator. Items with an asterisk* are required.
- reference* - Defines the Attribute the value will reference and be mapped to.
- keyDataPoint* - Defines what value the reference Attribute reference parameter represents. Options include: STATE_ABBREVIATION, STATE_NAME, and CITY, CITY_ZIP_CODE. For example, if the Attribute in the reference parameter generates State names, choose STATE_NAME in this parameter.
- valueDataPoint* - Defines what data point will be generated. Options include: CITY AND CITY_ZIP_CODE.
- seed - Defines seed value to be used to be able to generate the same data.
-
plusFourCode - Determines whether to include the plus-four code or not.
Example - Generate Zip Code Based on City Attribute Value
City Attribute
A random city will be generated for this Attribute using the USCityGen.
zipCode Attribute
The city Attribute is referenced by the USCityZipCodeMapGen. The city Attribute value will be used to generate the corresponding Zip Code including the hyphen and plus-four digits. These parameters have been configured:
- reference = city Attribute
- keyDataPoint = CITY.
- valueDataPoint = CITY_ZIP_CODE
-
plusFourCode = IncludeWithDash
Sample Output
Article Feedback: Was this helpful?
Give feedback