Skip to content

Better example or support for focused address location generation #52

@dhartford

Description

@dhartford

Is your feature request related to a problem? Please describe.
When trying to create a locale=US scenario with relevant/correlated city/state/zip address, I need to focus on a particular address location (local, country, state, province, postal code, city, etc). There doesn't appear to be a clean way to handle this without generating an exceptionally large dataset and then trim after.

Describe the solution you'd like

    <bean id="floridaAddresses" class="AddressGenerator">
        <property name="state" value="FL"/>
        <property name="locale" value="us"/>
    </bean>

    <bean id="orlandoAddresses" class="AddressGenerator">
        <property name="state" value="FL"/>
        <property name="city" value="orlando"/>
        <property name="locale" value="us"/>
    </bean>

Describe alternatives you've considered
Generate an excessively large dataset, then filter/trim after.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions