public class Rasterer
extends java.lang.Object
Constructor and Description |
---|
Rasterer(java.lang.String imgRoot)
imgRoot is the name of the directory containing the images.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getMapRaster(java.util.Map<java.lang.String,java.lang.Double> params)
Takes a user query and finds the grid of images that best matches the query.
|
public Rasterer(java.lang.String imgRoot)
public java.util.Map<java.lang.String,java.lang.Object> getMapRaster(java.util.Map<java.lang.String,java.lang.Double> params)
The grid of images must obey the following properties, where image in the grid is referred to as a "tile".
params
- Map of the HTTP GET request's query parameters - the query box and
the user viewport width and height.MapServer.REQUIRED_RASTER_REQUEST_PARAMS