Class CMProj4WebService extends CMProj4Grid
CMProj4WebService
Projector class that uses a web service that communicates with the Proj4 engine to create projection grids.
The class uses the ProjInfo.js file for information on the available projection methods and parameters.
Settings Group: Projection
Setting | Name | Type | Options | Default | Comments |
---|---|---|---|---|---|
LonMin | LonMin | CMTYPE_FLOAT | 0, Min:-180,Max:180 | ||
LonMax | LonMax | CMTYPE_FLOAT | 0, Min:-180,Max:180 | ||
LatMin | LatMin | CMTYPE_FLOAT | 0, Min:-90,Max:90 | ||
LatMax | LatMax | CMTYPE_FLOAT | 0, Min:-90,Max:90 | ||
lon_0 | Longitude Of Origin | CMTYPE_FLOAT | 0, Min:-180,Max:180 | typically, longitude of origin | |
lon_1 | First Meridian | CMTYPE_FLOAT | -40, Min:-180,Max:180 | first longitude | |
lon_2 | Second Merdian | CMTYPE_FLOAT | 40, Min:-180,Max:180 | second longitude | |
lonc | Lonigidude of central point | CMTYPE_FLOAT | 0, Min:-180,Max:180 | ||
lat_ts | Latitude Of True Scale | CMTYPE_FLOAT | 0, Min:-90,Max:90 | latitude of true scale | |
lat_0 | Latitude Of Origin | CMTYPE_FLOAT | 0, Min:-90,Max:90 | typically, latitude of origin | |
lat_1 | First Parallel | CMTYPE_FLOAT | 20, Min:-90,Max:90 | first latitude for conics | |
lat_2 | Second Parallel | CMTYPE_FLOAT | 40, Min:-90,Max:90 | second latitude for conics | |
h | Height of Satellite above the earth | CMTYPE_FLOAT | 35785831.0 , Min:1,Max:1000000000 | ||
n | n | CMTYPE_FLOAT | 2 , Min:1,Max:5 | undocumented | |
m | m | CMTYPE_FLOAT | 3 , Min:1,Max:5 | undocumented | |
M | M | CMTYPE_FLOAT | 0.5 , Min:0.001,Max:5 | greater than 0 | |
W | W | CMTYPE_FLOAT | 1 , Min:0.001,Max:5 | greater than 0 | |
south | South | CMTYPE_BOOLEAN | false | ||
lsat | Satellite | CMTYPE_ENUMERATED | 1, 2, 3, 4, 5 | 1 | |
path | Path | CMTYPE_INTEGER | 1, Min:1,Max:253 | ||
alpha | Alpha | CMTYPE_FLOAT | 1, Min:0,Max:360 | angle of rotational pole | |
tilt | Tilt | CMTYPE_FLOAT | 1, Min:0,Max:360 | ||
azi | Azimuth | CMTYPE_FLOAT | 1, Min:0,Max:360 | ||
o_lat_p | Latitude of New Pole | CMTYPE_FLOAT | 90, Min:-90,Max:90 | moves latitude for oblique projections | |
Type | Type | CMTYPE_STRING | Cylindrical | ||
Method | Method | CMTYPE_STRING | Robinson | Robinson | only those projection methods that work well are exposed at this time. |
LongitudeStep | Longitude Step | CMTYPE_INTEGER | 5 | ||
LatitudeStep | Latitude Step | CMTYPE_INTEGER | 5 |
Static Functions
Static Functions
GetProjectionCodeFromProjectionName()
@static
GetProjectionIndexFromProjectionCode()
@static
GetProjectionIndexFromSettingsName()
@static
GetControlInformation()
Returns projection information specified in the ProjInfo object (typically from including ProjInfo.js)
GetPreferedGeographicBounds()
Returns a geographic bounds that will make the specified projection look too
GetProjectionInfoFromProjectionCode()
Return one of the elements in the ProjInfo projection array.