SlideShare ist ein Scribd-Unternehmen logo
1 von 48
Downloaden Sie, um offline zu lesen
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
Outline

Introduction
1 – Processing GPX Data
2 – Using GPX Data in GIS
3 – Using GPX Data in VGI
Conclusion

2/48

Introduction
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
I – Processing GPX data

4/48
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
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
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
Data Collection Process
GPX Visualisation

GPX Path

Elevation Profil

8/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Data Collection Process
GPX Visualisation

Specific Point
Information

9/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Data Collection Process
GPX Cleaning Manual Process

Potential error

10/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Data Collection Process
GPX Cleaning Manual Process

11/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Data Collection Process
GPX Cleaning Automatic Process

12/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Data Collection Process
GPX Export

e.g., KML, SVG, export

13/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
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
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
II - Using GPX in GIS

16/48
Conversion Process
Example with QGIS → Add Vector Layer

17/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Conversion Process
Example with QGIS → Save as ...

18/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Conversion Process
From GIS to internet

19/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Conversion Process
From GIS to internet

20/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Data Storage
A focus on Postgis @ http://postgis.net/

21/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
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
Data Storage
PostGIS DataTypes
Point

Line

LinearRing

Multypolygon

+ MultiLine, MultiPolygon, GeometryCollection...
23/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Data Storage
PostGIS Spatial Indexing
R-tree
Quadtree
Grid-based

24/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Data Storage
Example:
ST_Simplify(geom, tolerance)

PostGIS Spatial Functions
Construction
Serialisation
Predicates
Analysis
Accessors
Builders
Aggregates

1

2

3
25/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
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
Data Storage
Using GIS and PostGIS

27/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
III – Processing GPX in VGI

28/48
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
Volunteered Geographic Information
What not just use commercial map providers?

30/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
OpenStreetMap
More coverage, update, attributes

31/48
OpenStreetMap

32/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
OpenStreetMap

33/48
OpenStreetMap
Paris : Aout 2006

Paris : Décembre 2010

Source : http://www.geofabrik.de

Processing GPX Data

Using GPX in GIS

Using GPX in VGI

34/48
OpenStreetMap
Humanitarian OSM

Source :http://www.flickr.com/photos/itoworld/

35/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Contributing to OpenStreetMap

36/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
OpenStreetMap Objects

Nodes

lines

Polygon

Relations

Relations

Geometric Objects
Processing GPX Data

Using GPX in GIS

Conceptual
Objects
Using GPX in VGI

37/48
OpenStreetMap Objects

higway = secondary

higway = Residential
leisure = garden

ay = Tertiary

building = yes
tourism = museum

higway = trunk
tunnel = yes

higway = trunk
38/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Contributing to OpenStreetMap
Field Papers
@ http://fieldpapers.org

39/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Contributing to OpenStreetMap

40/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Adding data to OpenStreetMap

41/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Adding data to OpenStreetMap

Missing roads ?

42/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Adding data to OpenStreetMap

Creation of the missing object

43/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Adding data to OpenStreetMap

44/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Results

Before
45/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Results

After
46/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
47/48

Processing GPX Data

Using GPX in GIS

Using GPX in VGI
Arnaud Vandecasteele
@geotribu

Questions ?

48/48

Weitere ähnliche Inhalte

Andere mochten auch

A semi-supervised learning framework based on spatio-temporal semantic events...
A semi-supervised learning framework based on spatio-temporal semantic events...A semi-supervised learning framework based on spatio-temporal semantic events...
A semi-supervised learning framework based on spatio-temporal semantic events...
arno974
 
How Grandmas can now Map the World - Empowering Citizen Cartographers
How Grandmas can now  Map the World - Empowering  Citizen CartographersHow Grandmas can now  Map the World - Empowering  Citizen Cartographers
How Grandmas can now Map the World - Empowering Citizen Cartographers
arno974
 
Rachel’s Potw Solution
Rachel’s Potw SolutionRachel’s Potw Solution
Rachel’s Potw Solution
Eunjin Park
 
From Geographic Information to GIS
From Geographic Information to GISFrom Geographic Information to GIS
From Geographic Information to GIS
arno974
 
Improving volunteered geographic data quality using semantic similarity measu...
Improving volunteered geographic data quality using semantic similarity measu...Improving volunteered geographic data quality using semantic similarity measu...
Improving volunteered geographic data quality using semantic similarity measu...
arno974
 
Making Web Maps Beautiful & Different with TileMill
Making Web Maps Beautiful & Different with TileMillMaking Web Maps Beautiful & Different with TileMill
Making Web Maps Beautiful & Different with TileMill
arno974
 
Regulatory Compliance Ver. Training Pack 2
Regulatory Compliance Ver. Training Pack 2Regulatory Compliance Ver. Training Pack 2
Regulatory Compliance Ver. Training Pack 2
henryarm2002
 

Andere mochten auch (11)

A semi-supervised learning framework based on spatio-temporal semantic events...
A semi-supervised learning framework based on spatio-temporal semantic events...A semi-supervised learning framework based on spatio-temporal semantic events...
A semi-supervised learning framework based on spatio-temporal semantic events...
 
How Grandmas can now Map the World - Empowering Citizen Cartographers
How Grandmas can now  Map the World - Empowering  Citizen CartographersHow Grandmas can now  Map the World - Empowering  Citizen Cartographers
How Grandmas can now Map the World - Empowering Citizen Cartographers
 
Rachel’s Potw Solution
Rachel’s Potw SolutionRachel’s Potw Solution
Rachel’s Potw Solution
 
How Well Is Your Website Performing
How Well Is Your Website PerformingHow Well Is Your Website Performing
How Well Is Your Website Performing
 
Nasi lemak
Nasi lemakNasi lemak
Nasi lemak
 
Past, Present and Future of WebMapping Application
Past, Present and Future of WebMapping ApplicationPast, Present and Future of WebMapping Application
Past, Present and Future of WebMapping Application
 
From Geographic Information to GIS
From Geographic Information to GISFrom Geographic Information to GIS
From Geographic Information to GIS
 
Introduction to WAP
Introduction to WAPIntroduction to WAP
Introduction to WAP
 
Improving volunteered geographic data quality using semantic similarity measu...
Improving volunteered geographic data quality using semantic similarity measu...Improving volunteered geographic data quality using semantic similarity measu...
Improving volunteered geographic data quality using semantic similarity measu...
 
Making Web Maps Beautiful & Different with TileMill
Making Web Maps Beautiful & Different with TileMillMaking Web Maps Beautiful & Different with TileMill
Making Web Maps Beautiful & Different with TileMill
 
Regulatory Compliance Ver. Training Pack 2
Regulatory Compliance Ver. Training Pack 2Regulatory Compliance Ver. Training Pack 2
Regulatory Compliance Ver. Training Pack 2
 

Mehr von arno974

Présentation d'OpenStreetMap lors du forum français
Présentation d'OpenStreetMap lors du forum françaisPrésentation d'OpenStreetMap lors du forum français
Présentation d'OpenStreetMap lors du forum français
arno974
 

Mehr von arno974 (6)

Présentation d'OpenStreetMap lors du forum français
Présentation d'OpenStreetMap lors du forum françaisPrésentation d'OpenStreetMap lors du forum français
Présentation d'OpenStreetMap lors du forum français
 
Du code à la carte
Du code à la carteDu code à la carte
Du code à la carte
 
Cartographier le monde avec des outils libres
Cartographier le monde avec des outils libresCartographier le monde avec des outils libres
Cartographier le monde avec des outils libres
 
Application de la géomatique décisionnelle à l'analyse des risques naturels
Application de la géomatique décisionnelle à l'analyse des risques naturelsApplication de la géomatique décisionnelle à l'analyse des risques naturels
Application de la géomatique décisionnelle à l'analyse des risques naturels
 
Apport de la géomatique décisionnelle à l'analyse du risque
Apport de la géomatique décisionnelle à l'analyse du risqueApport de la géomatique décisionnelle à l'analyse du risque
Apport de la géomatique décisionnelle à l'analyse du risque
 
Potentialités et limites d'OSM pour les administrations territoriales
Potentialités et limites  d'OSM pour les  administrations territorialesPotentialités et limites  d'OSM pour les  administrations territoriales
Potentialités et limites d'OSM pour les administrations territoriales
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

From Geographic Information to GIS - Part II: Processing Data