Overview
This example demonstrates the FME Server Data Download service and the power of integrating it with web mapping platforms. This example application provides an interface for the user to select a study area by drawing a polygon. Once the polygon is drawn, the user can continue building a request up by selecting the layers they wish to clip and the format and coordinate system of the returned data. The request is then sent to FME Server which processes it and returns the data to the user.
The application also utilizes the FME Server REST API to retrieve the service options (published parameters in the workspace) and build form elements dynamically. A change to the workspace published parameters would be automatically reflected in the form elements.
Viewing the Example
This example is set up and running on Safe's FME Server demo site. You can try out each demo by clicking the link below. There are no installation requirements other than a standard web browser.
Download the Sample Code
The source code for these examples is attached to this article. These examples use the ExtJs framework from sencha (
www.sencha.com). Consult their website for licensing considerations.
Safe Software does not support the implementation or maintenance of these examples, they are provided as is for reference purposes only.