US City generator
Last modified: April 3, 2025
The US City generator creates realistic city names within the United States, used for populating or testing applications and databases where accurate city data is required. It helps simulate geographic distributions and validate systems involving US-based locations.
Generator properties
The table provides key details about the generator, including the short name, sample of the generated data, the supported data types, and whether it is specific to a particular country.
Short name | Example of generated data | Data type matching | Country-specific |
---|---|---|---|
US City | Washington, Las Vegas, … | charactercharacter varyingtext | Default |
Matching rules
The generator can be assigned to a column that matches any of the following rules:
- The column name is ‘City’, regardless of the table name.
- The column name starts with ‘Addr’ and ends with ‘2’, ‘3’, or ‘4’, with any or no characters in between, regardless of the table name.
Configure additional options
The tool allows you to set additional options:
- In the File to load data from box, select … to choose a file to load data from. The default path to the file that stores a list of cities is “C:\Users\Public\Documents\Devart\dbForge Studio for PostgreSQL\Data Generators\USCities.txt”.
- Select the Trim left trailing spaces checkbox to remove spaces, tabs, and other non-printing characters on the LEFT of each string.
- Select the Trim right trailing spaces checkbox to remove spaces, tabs, and other non-printing characters on the RIGHT of each string (does not remove line breaks).
Preview of the column data generated by the US City generator
Want to find out more?
Overview
Take a quick tour to learn all about the key benefits delivered by dbForge Studio for PostgreSQL.
All features
Get acquainted with the rich features and capabilities of the tool in less than 5 minutes.
Request a demo
If you consider employing this tool for your business, request a demo to see it in action.