Class CMProj4Grid extends CMProjector
CMProj4Grid
Projects data based on a grid. This class uses a URL to a Proj4 grid file as created
by the associated Python script. This file is used when the user just wants to specify
a single projection grid. Otherwise, CMProj4WebService should be used which inherits
from this class and allows various settings to be specified and a web service call will
then produce a new grid for those settings.
Settings Group: Proj4Grid
Setting | Name | Type | Options | Default | Comments |
---|---|---|---|---|---|
URL | URL | CMTYPE_STRING | http://gsp.humboldt.edu/Archive/ProjectionGrids/robin/5_5/-179_179_-90_90/90.js | gsp.humboldt.edu/Archive/ProjectionGrids/robin/5_5/-179_179_-90_90/90.js" }, | |
LongitudeOfOrigin | Longitude Of Origin | CMTYPE_FLOATING | 0 |
Object Functions
Inherited From: CMProjector
Returns | Function | Throws |
---|---|---|
an | GetClippingPolys() | |
RequestGrid() | ||
GetProectionBounds() |
Object Functions
an=GetClippingPolys()
Returns clipping bounds that can be used to clip geographic data for the current
projection settings
Returns: an - array of clipping polys [Xs[],Ys[]]
RequestGrid()
Requests a grid specified by a URL
GetProectionBounds()
Start of getting the projection bounds based on uncertinaty