The library documents itself · Geo & cartography
stzGeoField
33 own methods · 8 forms written with extensions, listed under their method
the source: base/geo/stzGeoField.ring(opens in a new tab) · All classes · The area reference: Geo & cartography
Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean
Examples: 0 come from the library's tests; 12 were composed from each method's signature and run for this page, on a fresh object, for example o1 = StzGeoField([ 0, 0, 1, 1, 3, 3 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]). 21 methods have none yet. Examples run on 2026-10-04 07:31 inside the library at commit 0e72e2e2c.
Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
Grid
what it isno extension
composed example
o1 = StzGeoField([ 0, 0, 1, 1, 3, 3 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]) ? @@( o1.Grid() ) #--> [ 0, 0, 1, 1, 3, 3 ]composed from the signature, run for this page
Values
(no comment in the source: the name reads as a sentence) valuesno extension
composed example
o1 = StzGeoField([ 0, 0, 1, 1, 3, 3 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]) ? @@( o1.Values() ) #--> [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]composed from the signature, run for this page
ColumnCount
(no comment in the source: the name reads as a sentence) column countno extension
composed example
o1 = StzGeoField([ 0, 0, 1, 1, 3, 3 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]) ? o1.ColumnCount() #--> 3composed from the signature, run for this page
RowCount
(no comment in the source: the name reads as a sentence) row countno extension
composed example
o1 = StzGeoField([ 0, 0, 1, 1, 3, 3 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]) ? o1.RowCount() #--> 3composed from the signature, run for this page
CellSizeDegrees
(no comment in the source: the name reads as a sentence) cell size degreesno extension
composed example
o1 = StzGeoField([ 0, 0, 1, 1, 3, 3 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]) ? @@( o1.CellSizeDegrees() ) #--> [ 1, 1 ]composed from the signature, run for this page
Bounds
[ lon0, lat0, lon1, lat1 ] -- the ground this field coversno extension
composed example
o1 = StzGeoField([ 0, 0, 1, 1, 3, 3 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]) ? @@( o1.Bounds() ) #--> [ 0, 0, 2, 2 ]composed from the signature, run for this page
SetUnit
(no comment in the source: the name reads as a sentence) set unitQCSXTZZZIBWU
Unit
(no comment in the source: the name reads as a sentence) unitno extension
SetSource
(no comment in the source: the name reads as a sentence) set sourceQCSXTZZZIBWU
Source
(no comment in the source: the name reads as a sentence) sourceno extension
Stats
reading it --------------------------------------------------------- [ :min, :max, :known, :unknown ] -- and `unknown` is the one to read first, because a field that is nine tenths nodata will draw as a handsome map of one tenth of the groundno extension
composed example
o1 = StzGeoField([ 0, 0, 1, 1, 3, 3 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]) ? @@( o1.Stats() ) #--> [ [ "min", 1 ], [ "max", 9 ], [ "known", 9 ], [ "unknown", 0 ] ]composed from the signature, run for this page
Min
(no comment in the source: the name reads as a sentence) minno extension
composed example
o1 = StzGeoField([ 0, 0, 1, 1, 3, 3 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]) ? o1.Min() #--> 1composed from the signature, run for this page
Max
(no comment in the source: the name reads as a sentence) maxno extension
composed example
o1 = StzGeoField([ 0, 0, 1, 1, 3, 3 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]) ? o1.Max() #--> 9composed from the signature, run for this page
ValueAt
the value at a place: bilinear where its four neighbours are known, nearest where they are not, "" off the grid or with nothing to readno extension
LevelsEvery
LEVELS SPREAD EVENLY BETWEEN THE ENDS, which is what a contour map without a stated scheme means. The ends themselves are left out: a contour at the minimum is the whole map's border and a contour at the maximum is a point.no extension
composed example
o1 = StzGeoField([ 0, 0, 1, 1, 3, 3 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]) ? @@( o1.LevelsEvery(2) ) #--> [ 3.67, 6.33 ]composed from the signature, run for this page
ContourAt
the contour at one level, as a list of lon/lat polylinesno extension
composed example
o1 = StzGeoField([ 0, 0, 1, 1, 3, 3 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]) ? @@( o1.ContourAt(2) ) #--> [ [ 0, 0.33, 1, 0 ] ]composed from the signature, run for this page
SetClasses
how it is colouredQCSXTZZZIBWU
SetClassesEvery
CLASS EDGES FROM THE FIELD ITSELF, evenly between its ends. Equal steps and not quantiles, because a density's story is usually its peak and a quantile scale flattens exactly that.QCSXTZZZIBWU
SetRamp
(no comment in the source: the name reads as a sentence) set rampQCSXTZZZIBWU
SetPalette
(no comment in the source: the name reads as a sentence) set paletteQCSXTZZZIBWU
Classes
(no comment in the source: the name reads as a sentence) classesno extension
SetClip
THE GROUND THE PICTURE IS CLIPPED TO, as lon/lat rings, at pixel resolution and antialiased -- so the raster's edge is the coastline and not the grid's staircase of cells. A density field takes its window's rings at birth; a raster read from a file has none until told.QCSXTZZZIBWU
SetClipTo
(no comment in the source: the name reads as a sentence) set clip toQCSXTZZZIBWU
Clip
(no comment in the source: the name reads as a sentence) clipno extension
Palette
(no comment in the source: the name reads as a sentence) paletteno extension
DrawOn
pnAlpha lets the map beneath show through; 255 is opaque.no extension
DrawXT
(no comment in the source: the name reads as a sentence) draw xtno extension
DrawContoursOn
THE CONTOURS, one stroke per level. A contour is a LINE and never a fill: the ground between two levels is not one value, and shading it as though it were is the choropleth lie in another costume.no extension
DrawLegendOn
the legend a field owes: one row per class, with the unit namedno extension
Findings
what the gate owes a fieldno extension
FindingsOn
(no comment in the source: the name reads as a sentence) findings onno extension
IsSound
(no comment in the source: the name reads as a sentence) is soundno extension
composed example
o1 = StzGeoField([ 0, 0, 1, 1, 3, 3 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]) ? o1.IsSound() #--> 1composed from the signature, run for this page

