Testing of
geolocation systems
Aliaksei Boole, Juno
About the
speaker
Engineer.
5 years of experience.
Worked in:
● Bel. Railway
● Synesis
● Wargaming
I test GIS in Juno.
Boring
definition
Geolocation is the identification or
estimation of the real-world
geographic location of an object, such
as a radar source, mobile phone, or
Internet-connected computer terminal.
Why is it
important?
Arrival exactly to the user
Right way
Arrival time
Display on map(good user experience)
Price of the trip
Time to start
testing
What did I
know about
geolocation?
Well, maybe a
couple of
things...
Where to
begin?
First test
1. ??? was put in the database
2. ??? was sent in request
3. Simulated external calls
4. ??? was checked in the response
5. ??? was checked in the database
Education
Precision after
point
http://geojson.io
Coordinates
accuracy
Time is third
coordinate
Geolocation
data sources
• Gps
• Network
• Fused (Android)
• IOS (Apple)
• etc
Different
coordinate
systems
From To
Epoc
h
T1
m
T2
m
T3
m
D
ppb
R1
mas
R2
mas
R3
mas
Accu
racy
m
WGS84
(G1674)
WGS84
(G1762)
200
5.0
-
0.00
4
+0.0
03
+0.0
04
-6.9 -
0.27
+0.2
7
-
0.38
0.00
52
ITRF20
08
WGS84
(G1762)
200
5.0
0 0 0 0 0 0 0 0.10
ITRF20
08
WGS84
(G1674)
200
5.0
0 0 0 0 0 0 0 0.10
ITRF20
00
WGS84
(G1150)
200
1.0
0 0 0 0 0 0 0 0.10
ITRF94 WGS84
(G873)
199
7.0
0 0 0 0 0 0 0 0.10
ITRF91 WGS84
(G730)
199
4.0
0 0 0 0 0 0 0 0.10
ITRF90 WGS84
(original)
198
4.0
+0.0
60
-
0.51
7
-
0.22
3
-
11.0
+18.
3
-0.3 +7.0 0.01
The world is
not perfect
Gall–Peters projection
Conscious test
1. The system in state A
2. The position was changed
3. Simulated external calls
4. Checked that the system went into
state B
Next level of
education
Your best
friend PostGIS
select ST_AsGeoJSON(ST_Buffer('POINT(10 10)'::geography, 100));
select ST_Distance('POINT(10 10)'::geography, 'POINT(11 11)'::geography);
http://postgis.net/
https://www.pgcli.com/
QGIS your
friend too
http://www.qgis.org
GIS data
formats
(GeoJSON)
GIS data
formats (GPX)
Data-driven
test
1. Play the script from the gpx file
2. Check the result according to the
gpx file
Next level of
education
Mobile testing
https://play.google.com
/store/apps/details?id=
fr.dvilleneuve.lockito&hl
=en
Analytics and
metrics
https://grafana.com/
Main bugs
(bonus)
Jumble coordinates
Multiplication, division, cos, acos, sin, asin...
Wrong sorting
Wrong formula
A special case
Conclusions
Start with a simple
Learn better by practicing
Your tests must growing with your knowledge
GIS is an important part of the future of IT
THANK YOU! :)
Алексей Буль (Aliaksei Boole)
aliaksei.boole@gmail.com
http://www.electrictower.ru
Twitter:
@Alex_Koul

Тестирование геолокационных систем

Editor's Notes

  • #5 Геолокация (англ. geolocation) — определение реального географического местоположения электронного устройства.