Etiqueta | Explicación | Tipo de datos |
Output Feature Class
| The output feature class that will contain the returned businesses. | Feature Class |
Input Search Features
(Opcional) | The area that will be used to search for businesses. Selected features supersede the feature class and will be used as the search area. | Feature Layer |
Search Terms
(Opcional) | The terms that will be used to search for businesses. You can use terms such as business name or business type keywords. If this parameter is not set, all businesses from the Input Search Features parameter will be returned. | String |
Include Only Exact Matches
(Opcional) | Specifies whether only the text entered in the Search Terms parameter will be returned from the search.
| Boolean |
Match Business or Facility Name Only
(Opcional) | Specifies whether the search will be limited to the business name only.
| Boolean |
Filters
(Opcional) | The filters that will be applied to the Search Terms parameter.
| Value Table |
Maximum Number of Points to Return
(Opcional) | The limit for the number of returned features. The default value is 1000000. | Long |
Business Dataset
(Opcional) | The dataset that will be used in the business search. | String |
Disponible con licencia de Business Analyst.
Resumen
Generates a point feature layer from a business point location search.
Uso
Output Feature Class will exclude the Address field.
The following countries contain data required for a Business Listing search: United States, Canada.
To enable the Business Dataset parameter options, set the Data Source environment to Online.
Using the Include Only Exact Matches parameter with the Search Terms parameter will return restrictive results. For example, entering Johnson`s Supermarket in the Search Terms parameter with the Include Only Exact Matches parameter checked, the following will not be returned:
- Johnson`s Market
- Johnson`s Supermarket & Pharmacy
- Johnson and Sons Supermarket & Pharmacy
The FilterValue option in the Filters parameter can be set by applying a minimum or maximum value only or by applying a range between the minimum and maximum values.
- Min:Number—Filters businesses with variable values less than the number assigned, for example, min:100.
- Max:Number—Filters businesses with variable values greater than the number assigned, for example, max:500.
- Min:Number Max:Number—Filters businesses outside of the range of values assigned, for example, min:100 max:500.
Parámetros
arcpy.ba.GeneratePointsFromBusinessListings(out_feature_class, {in_search_features}, {search_terms}, {exact_match}, {match_name_only}, {filters}, {max_count}, {business_dataset})
Nombre | Explicación | Tipo de datos |
out_feature_class | The output feature class that will contain the returned businesses. | Feature Class |
in_search_features (Opcional) | The area that will be used to search for businesses. Selected features supersede the feature class and will be used as the search area. | Feature Layer |
search_terms (Opcional) | The terms that will be used to search for businesses. You can use terms such as business name or business type keywords. If this parameter is not set, all businesses from the in_search_features parameter will be returned. | String |
exact_match (Opcional) | Specifies whether only the text entered in the search_terms parameter will be returned from the search.
| Boolean |
match_name_only (Opcional) | Specifies whether the search will be limited to the business name only.
| Boolean |
filters [[filter_name, filter_value, include],...] (Opcional) | The filters that will be applied to the search_terms parameter.
| Value Table |
max_count (Opcional) | The limit for the number of returned features. The default value is 1000000. | Long |
business_dataset (Opcional) | The dataset that will be used in the business search. | String |
Muestra de código
The following Python window script demonstrates how to use the GeneratePointsFromBusinessListings function.
import arcpy
arcpy.ba.GeneratePointsFromBusinessListings("MyProject.gdb\output", "San Francisco Bay Area", "coffee", False, False, 100, "salesvol min:200 INCLUDE;empnum 'min:3 max:10' INCLUDE;city 'Mountain View' EXCLUDE")
Información de licenciamiento
- Basic: Requiere Business Analyst
- Standard: Requiere Business Analyst
- Advanced: Requiere Business Analyst