Contributing

Measurement validation

Validation rules for incoming measurements.

Filtering of data

The following filters are currently applied to all incoming data and decide if a measurement is suspicious or valid.
Suspect data is inserted into a database table with suspect data which can be re-examined at a later stage if required.

ParameterRules
actmust be one of supported type: 1xRTT, CDMA, eHRPD, IS95A, IS95B, EVDO_0, EVDO_A, EVDO_B, UMTS, HSPA+, HSDPA, HSUPA, HSPA, LTE, LTECATM, NR, NBIOT, EDGE, GPRS, GSM
MCCmust be known in the database
MCCmust be in the range of 100 to 999
MNC/SIDmust be known in the database
MNCmust be in the range of 0 to 999 for GSM, UMTS, LTE, NR and NBIOT
MNC/SIDmust be in the range of 0 to 32767 for CDMA
LAC/TAC/NIDmust be in the range of 1 to 65535 for all radios except NR, 0 to 16777215 for NR.
CIDmust be in the range of 1 to 65535 for GSM
CIDmust be in the range of 1 to 268435455 for UMTS and LTE, 1 to 68719476735 for NR
CID/BIDmust be in the range 1 to 65535 for CDMA
longitudemust be float (not integer)
longitudemust be in the range: (-180,0) U (0,180)
longitudemust be != 0
latitudemust be float (not integer)
latitudemust be in the range: (-90,0) U (0,90)
latitudemust be != 0
ParametersRules
MCC,MNC,LAC,CID,longitude,latitudemust have unique coordinates for the cell
MCC,longitude,latitudemust have coordinates in the home country
MCC,MNC,LAC,CID,longitude,latitudemust be closer than 150 km away from the cell (only in case of precise cells)

The following filters are currently applied to optional fields in all incoming data.
If an optional field has invalid value, then only the value is rejected.

ParameterRules
measured_atmust be in one of supported date formats: - timestamp (milliseconds since 1/1/1970 00:00:00 GMT), - "yyyy-MM-dd HH:mm:ss", - "yyyyMMddHHmmss", - "yyyy-MM-dd HH:mm:ss.SSSZ", - "yyyy-MM-dd"
signal
ratingmust be in metres in the range of 0 to 35000
speedmust be in metres/second in the range of 0 to 300
directionmust be in the range of 0 to 360
taonly for GSM and LTE; must be in the range of 0 to 63
psconly for UMTS; must be in the range of 0 to 511
pcionly for LTE; must be in the range of 0 to 503
txpmust be in the range of -200 to 100
tsrfmust be in the range of -100 to 100

Additional field details:

TechnologyRules
GSMRSSI in dBm in the range of -51 to -113 or ASU in the range of 0 to 31
UMTSRSCP in dBm in the range of -25 to -121 or ASU in the range of -5 to 91
LTERSRP in dBm in the range of -45 to -137 or ASU in the range of 0 to 95
NRRSRP in dBm in the range of -44 to -140 or ASU in the range of 0 to 97
CDMARSSI in dBm in the range of -75 to -100 or ASU in the range of 1 to 16

API overview · Measurement fields · Errors

On this page