@@ -15,14 +15,31 @@ Read the `layer` number provided by the service from which the `wms` type was cr
15
15
both of these forms are allowed: ` layer=3 ` or ` layer="Invented layer name" `
16
16
17
17
### ` kwargs ` is the keywords/values pairs used to set
18
- - ` region | limits ` : The region limits. This can be a Tuple or Array with 4 elements defining the ` (xmin, xmax, ymin, ymax) `
19
- or a string defining the limits in all ways that GMT can recognize. When the layer has the data projected, we can
20
- a Tuple or Array with 3 elements ` (lon0, lat0, width) ` , where first two set the center of a square in geographical
21
- coordinates and the third (` width ` ) is the width of that box in meters.
18
+ - ` region | limits ` : The region limits. Options are:
19
+ - A Tuple or Array with 4 elements defining the ` (xmin, xmax, ymin, ymax) ` or a string defining the
20
+ limits in all ways that GMT can recognize.
21
+
22
+ - When the layer has the data projected, we can pass a Tuple or Array with 3 elements ` (lon0, lat0, width) ` ,
23
+ where first two set the center of a square in geographical coordinates and the third (` width ` ) is the
24
+ width of that box in meters.
25
+
26
+ - A `` mosaic `` tile name in the form `` X,Y,Z `` or a quadtree. Example: `` region="7829,6374,14" `` . See the `` mosaic ``
27
+ function manual for more information. This form also sets the default cellsize for that tile. NOTE:
28
+ this is a geographical coordinates only that implicitly sets `` geog=true `` . See below on how to change
29
+ the default resolution.
22
30
23
31
- ` cellsize | pixelsize | resolution | res ` : Sets the requested cell size in meters [ default] . Use a string appended with a 'd'
24
32
(e.g. ` resolution="0.001d" ` ) if the resolution is given in degrees. This way works only when the layer is in geogs.
25
33
34
+ - ` zoom or refine ` : When the region is derived from a `` mosaic `` tile name, the default is to get an image with 256 columns
35
+ and _ n_ rows where _ n_ depends on latitude. So, either the area is large and consequently the resolution is low, or
36
+ the inverse (small area and resolution is high). To change this status, use the ` zoom ` or ` refine ` options.
37
+ - ` zoom ` : an integer >= 1 that for each increment duplicates the base resolution by 2. _ e.g._ , ` zoom=2 `
38
+ quadruplicates the default resolution. This option is almost redundant with the ` refine ` , but is offered
39
+ for consistency with the `` mosaic `` function.
40
+ - ` refine ` : an integer >= 2 multiplication factor that is used to increment the resolution by factor. _ e.g._ , ` refine=2 `
41
+ duplicates the image resolution.
42
+
26
43
- ` size ` : Alternatively to the the ` cellsize ` use this option, a tuple or array with two elements, to specify
27
44
the image dimensions. Example, ` size=(1200, 100) ` to get an image with 1200 rows and 100 columns.
28
45
0 commit comments