Managing the Feature Service Configuration

The Feature Service provides the ability to search spatial databases. It provides a set of common operations that you can use to query content, regardless of the underlying data provider. The Feature Service is configured and managed using the Spectrum Spatial™ Manager utility. For more information, see Feature Service in the Services section of the Spectrum Spatial Guide.

Select Services > Feature in Spectrum Spatial™ Manager to view the Feature Service settings. From the Settings page, click Edit to configure the Feature Service setting:

The maximum number of features you wish to allow in a response. Any request that would result in more features than the defined maximum number of features will throw an exception. The default is 1000 features. Although you can set this value to be many times higher than the default, you will experience negative effects on memory and processing. In such a case, consider using a different approach, such as creating a view table. If a different approach is not feasible, contact Tech Support for assistance in configuring your system to handle large request payloads.
Important: If spatial aggregation is enabled for a table, the maximum number of features should be increased to 10,000 records. This is because in some cases more than 1000 aggregated features may be returned depending on the zoom level, the spatial extent of the map in the client, and the spatial distribution of features being aggregated.

Any changes you make to the Feature Service configuration are automatically loaded.

Note: The Feature Service configuration file FeatureConfiguration is preconfigured and located in the Configuration directory under the root repository. For example, a default installation will place the Feature Service configuration file at http://<server>:port/RepositoryService/repository/default/Configuration/FeatureConfiguration. Although you can use a WebDAV tool such as WebFolders to copy this configuration file from the repository then upload the modified file, manual editing of this file should only be done by advanced users who require functionality that is not supported by the current version of Spectrum Spatial™ Manager (v10.1). Unexpected results may occur when using a manually edited configuration file with Spectrum Spatial™ Manager.