Vector Search -An Introduction in Oracle Database 23ai.pptx
From Geographic Information to GIS - Part II: Processing Data
1. From Geographic Information to GIS
Getting the Map into the computer
Part II: Processing Data
Arnaud
Vandecasteele
Memorial Univ. of
Newfoundland,
Canada
3/02/2013
3. Objectives
Methods and tools to process your GPX data
Integration of your GPX inside a GIS platform
Integration of your GPX inside a VGI platform
3/48
Introduction
5. Data Collection Process
GPX, or GPS eXchange is a light-weight XML data format
for the interchange of GPS data (waypoints, route and tracks)
GPX File
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<gpx ...>
Metadata
.Gpx
<metadata> ... </metadata>
Data
Track
Waypoint
<trk>
<trkseg>
<trkpt lat="#" lon="#">
<ele>#</ele>
</trkpt>
<trkpt ...>
….
</trkpt>
</trkseg>
</trk>
<wpt lat="#" lon="#">
<ele>#</ele>
<name>...</name>
…
</wpt>
<wpt lat="#" lon="#">
…
</wpt>
</gpx>
5/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
6. Data Collection Process
Analysing GPZ File - Metadata
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<gpx
...
creator="eTrex 20" version="1.1"
...
<metadata>
<link href="http://www.garmin.com">
<text>Garmin International</text>
</link>
<time>2013-02-05T12:03:16Z</time>
</metadata>
<trk>
<name>MMMMMMMK3 08:33:02</name>
<trkseg>
<trkpt lat="47.5536662433" lon="-52.7926951088"><ele>169.81</ele><time>2013-02-05T11:44:41Z</time></trkpt>
<trkpt lat="47.5540290959" lon="-52.7929564565"><ele>168.37</ele><time>2013-02-05T11:44:50Z</time></trkpt>
<trkpt lat="47.5542206224" lon="-52.7935003582"><ele>167.41</ele><time>2013-02-05T11:44:57Z</time></trkpt>
<trkpt lat="47.5541830715" lon="-52.7945925202"><ele>167.41</ele><time>2013-02-05T11:45:07Z</time></trkpt>
<trkpt lat="47.5543716643" lon="-52.7948338352"><ele>166.93</ele><time>2013-02-05T11:45:15Z</time></trkpt>
</trkseg>
</trk>
</gpx>
6/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
7. Data Collection Process
Analysing GPZ File - Metadata
What does this file tell us?
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<gpx
...
creator="eTrex 20" version="1.1"
...
GPS Metadata
<metadata>
<link href="http://www.garmin.com">
<text>Garmin International</text>
</link>
<time>2013-02-05T12:03:16Z</time>
</metadata>
<trk>
<name>MMMMMMMK3 08:33:02</name>
<trkseg>
<trkpt lat="47.5536662433" lon="-52.7926951088"><ele>169.81</ele><time>2013-02-05T11:44:41Z</time></trkpt>
<trkpt lat="47.5540290959" lon="-52.7929564565"><ele>168.37</ele><time>2013-02-05T11:44:50Z</time></trkpt>
<trkpt lat="47.5542206224" lon="-52.7935003582"><ele>167.41</ele><time>2013-02-05T11:44:57Z</time></trkpt>
<trkpt lat="47.5541830715" lon="-52.7945925202"><ele>167.41</ele><time>2013-02-05T11:45:07Z</time></trkpt>
<trkpt lat="47.5543716643" lon="-52.7948338352"><ele>166.93</ele><time>2013-02-05T11:45:15Z</time></trkpt>
</trkseg>
</trk>
</gpx>
GPS Positions: Tracks
7/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
8. Data Collection Process
GPX Visualisation
GPX Path
Elevation Profil
8/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
9. Data Collection Process
GPX Visualisation
Specific Point
Information
9/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
10. Data Collection Process
GPX Cleaning Manual Process
Potential error
10/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
11. Data Collection Process
GPX Cleaning Manual Process
11/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
12. Data Collection Process
GPX Cleaning Automatic Process
12/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
13. Data Collection Process
GPX Export
e.g., KML, SVG, export
13/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
14. Data Collection Process
GPX Comparison, two GPS same place/time
Second GPX
First GPX
14/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
15. Data Collection Process
How to get accurate GPS positions?
Geometric Dilution of Precision (GDOP) :
●
Horizontal DOP (HDOP)
●
Vertical DOP (VDOP)
●
Positional DOP (PDOP)
●
Time DOP (TDOP)
Good GDOP
Bad GDOP
15/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
21. Data Storage
A focus on Postgis @ http://postgis.net/
21/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
22. Data Storage
What is PostGIS ?
Postgis is a spatial extension for Postgresql:
●
Provides Spatial Data Type
●
Provides Spatial Indexing
●
Provides Spatial Functions
22/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
26. Data Storage
Using GIS and PostGIS
1 Import your data into PostGIS
2 Load your data into QGIS
26/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
27. Data Storage
Using GIS and PostGIS
27/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI
29. OpenStreetMap
What is OpenStreetMap?
Geographic data
●
For driving, riding, walking,
boating, skiing, hiking, anything
●
Free (ODBL License)
●
Wiki-like editing
+
=
29/48
Processing GPX Data
Using GPX in GIS
Using GPX in VGI