ImageFetcher

From fmepedia

ImageFetcher is a Workbench Transformer.

Fetches an image by performing a HTTP GET operation on the specified URL, and then returning the resulting data as the geometry of a raster feature.

If an error occurs and 'Continue On Error' is set to Yes, the output feature will have no geometry and the error message will be logged, but the translation will continue. However, if an error occurs and 'Continue On Error' is set to No, the translation will fail.

Note that the https protocol is not currently supported.



Example

The attached workspace shows an example use of the ImageFetcher transformer.


Workspace Screenshot


Above: ImageFetcherExample Example Workspace.

The workspace generates a single null geometry feature with an attribute holding a URL. The ImageFetcher returns the URL image as a raster feature which is then written to a GeoTIFF output.


Output


Above: The source image as shown on the Safe Software web site.



Above: The output GeoTIFF as viewed in the FME Viewer.

Attached Files
filesizedate
ImageFetcherExample.zip131.8 kB11/11/08
ImageFetcherExample1.jpg48.6 kB11/11/08
ImageFetcherExample2.jpg34.0 kB11/11/08
ImageFetcherExample3.jpg76.0 kB11/11/08
User Comments Add a new comment