Softanza
StartFrançais
Softanza
The library documents itself · Geo & cartography

stzGeoSamples

23 own methods · 2 forms written with extensions, listed under their method

the source: base/geo/stzGeoSamples.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; 10 were composed from each method's signature and run for this page, on a fresh object, for example cJ = '{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"A"},"geometry":{"type":"Polygon","coordinates":[[[0,0],[4,0],[4,4],[0,4],[0,0]]]}}]}' oW = StzGeoFeaturesFromJson(cJ) o1 = StzGeoSamples([ 1, 1, 10, 2, 2, 20, 3, 3, 30 ], oW). 13 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
Samples
(no comment in the source: the name reads as a sentence) samples
composed example
cJ = '{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"A"},"geometry":{"type":"Polygon","coordinates":[[[0,0],[4,0],[4,4],[0,4],[0,0]]]}}]}'
oW = StzGeoFeaturesFromJson(cJ)
o1 = StzGeoSamples([ 1, 1, 10, 2, 2, 20, 3, 3, 30 ], oW)
? @@( o1.Samples() )
#--> [ 1, 1, 10, 2, 2, 20, 3, 3, 30 ]
composed from the signature, run for this page
no extension
Count
(no comment in the source: the name reads as a sentence) count
composed example
cJ = '{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"A"},"geometry":{"type":"Polygon","coordinates":[[[0,0],[4,0],[4,4],[0,4],[0,0]]]}}]}'
oW = StzGeoFeaturesFromJson(cJ)
o1 = StzGeoSamples([ 1, 1, 10, 2, 2, 20, 3, 3, 30 ], oW)
? o1.Count()
#--> 3
composed from the signature, run for this page
no extension
Window
(no comment in the source: the name reads as a sentence) windowno extension
WindowRings
(no comment in the source: the name reads as a sentence) window rings
composed example
cJ = '{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"A"},"geometry":{"type":"Polygon","coordinates":[[[0,0],[4,0],[4,4],[0,4],[0,0]]]}}]}'
oW = StzGeoFeaturesFromJson(cJ)
o1 = StzGeoSamples([ 1, 1, 10, 2, 2, 20, 3, 3, 30 ], oW)
? @@( o1.WindowRings() )
#--> [ [ 0, 0, 4, 0, 4, 4, 0, 4, 0, 0 ] ]
composed from the signature, run for this page
no extension
Outside
(no comment in the source: the name reads as a sentence) outside
composed example
cJ = '{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"A"},"geometry":{"type":"Polygon","coordinates":[[[0,0],[4,0],[4,4],[0,4],[0,0]]]}}]}'
oW = StzGeoFeaturesFromJson(cJ)
o1 = StzGeoSamples([ 1, 1, 10, 2, 2, 20, 3, 3, 30 ], oW)
? o1.Outside()
#--> 0
composed from the signature, run for this page
no extension
ValueOf
(no comment in the source: the name reads as a sentence) value of
composed example
cJ = '{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"A"},"geometry":{"type":"Polygon","coordinates":[[[0,0],[4,0],[4,4],[0,4],[0,0]]]}}]}'
oW = StzGeoFeaturesFromJson(cJ)
o1 = StzGeoSamples([ 1, 1, 10, 2, 2, 20, 3, 3, 30 ], oW)
? o1.ValueOf(2)
#--> 20
composed from the signature, run for this page
no extension
PlaceOf
(no comment in the source: the name reads as a sentence) place of
composed example
cJ = '{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"A"},"geometry":{"type":"Polygon","coordinates":[[[0,0],[4,0],[4,4],[0,4],[0,0]]]}}]}'
oW = StzGeoFeaturesFromJson(cJ)
o1 = StzGeoSamples([ 1, 1, 10, 2, 2, 20, 3, 3, 30 ], oW)
? @@( o1.PlaceOf(2) )
#--> [ 2, 2 ]
composed from the signature, run for this page
no extension
Values
(no comment in the source: the name reads as a sentence) values
composed example
cJ = '{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"A"},"geometry":{"type":"Polygon","coordinates":[[[0,0],[4,0],[4,4],[0,4],[0,0]]]}}]}'
oW = StzGeoFeaturesFromJson(cJ)
o1 = StzGeoSamples([ 1, 1, 10, 2, 2, 20, 3, 3, 30 ], oW)
? @@( o1.Values() )
#--> [ 10, 20, 30 ]
composed from the signature, run for this page
no extension
MinValue
(no comment in the source: the name reads as a sentence) min value
composed example
cJ = '{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"A"},"geometry":{"type":"Polygon","coordinates":[[[0,0],[4,0],[4,4],[0,4],[0,0]]]}}]}'
oW = StzGeoFeaturesFromJson(cJ)
o1 = StzGeoSamples([ 1, 1, 10, 2, 2, 20, 3, 3, 30 ], oW)
? o1.MinValue()
#--> 10
composed from the signature, run for this page
no extension
MaxValue
(no comment in the source: the name reads as a sentence) max value
composed example
cJ = '{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"A"},"geometry":{"type":"Polygon","coordinates":[[[0,0],[4,0],[4,4],[0,4],[0,0]]]}}]}'
oW = StzGeoFeaturesFromJson(cJ)
o1 = StzGeoSamples([ 1, 1, 10, 2, 2, 20, 3, 3, 30 ], oW)
? o1.MaxValue()
#--> 30
composed from the signature, run for this page
no extension
IDWField
1. the baseline ---------------------------------------------------- IDW as a field, clipped to the window. Power 2 is the usual default and is a CHOICE, not a fact: a higher power leans harder on the nearest gauge and makes bullseyes round each one.no extension
Variogram
2. the diagnostic -------------------------------------------------- [ [ h, gamma, pairs ], ... ]. pnMaxKm of 0 takes HALF the greatest distance in the data, which is the standard cut: beyond it only the opposite corners contribute and the far bins are a handful of pairs sharing the same few gauges.no extension
FitVariogram
[ :model, :nugget, :sill, :range, :rss ] -- :Best fits all three and keeps the one with the least weighted residualQCSXTZZZIBWU
SetModel
the fitted model this object will krige withQCSXTZZZIBWU
Model
(no comment in the source: the name reads as a sentence) modelno extension
FitAndUse
fit and adopt in one move, which is what most callers wantno extension
GammaAt
gamma(h) under the fitted model, for drawing the curve over the cloudno extension
KrigeFields
THEY COME BACK TOGETHER ON PURPOSE. A kriged surface published without its variance is the one abuse this method makes easy: it looks like measurement everywhere, and half of it is arithmetic over empty ground. Taking them apart is the caller's decision to make, not a default to stumble into.no extension
KrigeAt
[ estimate, variance ] at one placeno extension
CrossValidate
[ :bias, :rmse ] by leave-one-out: every gauge predicted from all the others. The honest test of an interpolator and the one a report owes.no extension
Findings
what the gate owes an interpolationno extension
IsSound
(no comment in the source: the name reads as a sentence) is sound
composed example
cJ = '{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"A"},"geometry":{"type":"Polygon","coordinates":[[[0,0],[4,0],[4,4],[0,4],[0,0]]]}}]}'
oW = StzGeoFeaturesFromJson(cJ)
o1 = StzGeoSamples([ 1, 1, 10, 2, 2, 20, 3, 3, 30 ], oW)
? o1.IsSound()
#--> 1
composed from the signature, run for this page
no extension