URLFetcher Example

From Fmepedia


The attached custom format shows an example use of the URLFetcher transformer.

This example is a very basic form of a WMS reader. FME will include a WMS reader very shortly, but in the meantime you could use this.

A set of published parameters are used to prompt the user for x/y min/max coordinates and a layer name. This is all concatenated into a URL and fed into the URLFetcher. The returned binary data is written as a file (PNG format), read back in as a raster and georeferenced. It can then be output to any required format.

Attached Files
filesizedate
WMSBASIC.zip9.2 kB03/15/07
User Comments Add a new comment