GEO.JSON.UNIFORM
geoConfiguration parameters
-
warpscript.maxgeocells.hard
-
warpscript.maxgeocells
The GEO.JSON
function creates a WarpScript object (GEOSHAPE) representing a geographical area. The description of the geographical area uses the GeoJSON format.
The coordinates are assumed to be in WGS 84.
A GEOSHAPE is a set of cells at various resolutions which cover (or are contained within) the specified area. The resolutions of the cells are even numbers from 2 (coarsest) to 30 (finest) with the following associated precisions at the equator:
Resolution | Precision |
---|---|
2 | 10,000 km |
4 | 2,500 km |
6 | 625 km |
8 | 156 km |
10 | 39 km |
12 | 10 km |
14 | 2.5 km |
16 | 600 m |
18 | 150 m |
20 | 40 m |
22 | 10 m |
24 | 2.5 m |
26 | 60 cm |
28 | 15 cm |
30 | 4 cm |
The exact precision is 40,000 km divided by 2**resolution.
The number of cells that a GEOSHAPE may contain is limited by the platform configuration, this limit can be modified up to the hard limit using MAXGEOCELLS
.
This function is nearly identical to GEO.JSON
, differing only by the fact that the produced GEOSHAPE only contains cells of a single resolution.