applying the shape complexity measures to spatial …fying/ap/phd_seminar_fangli_ying_2010.pdfusing...
TRANSCRIPT
![Page 1: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/1.jpg)
Fangli Ying,Peter Mooney,Padraig Corcoran,Adam C.Winstanley
Department of Computer ScienceNational University of Ireland, Maynooth
Applying the Shape Complexity Measures to Spatial Data AnalysisApplying the Shape Complexity Applying the Shape Complexity
Measures to Spatial Data AnalysisMeasures to Spatial Data Analysis
![Page 2: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/2.jpg)
Personal Details
Contact Info:
Department of Computer Science,
National University of Ireland,Maynooth
Co.Kildare,Ireland
Email:[email protected]
Commenced PhD project- Since October 2009
Project supervisors: Peter Mooney ,Padraig Corcoran
Director of Study: Adam C.Winstanley
![Page 3: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/3.jpg)
Papers
Polygon Processing in OpenStreetMap XML, GISRUK conference 2010
Using Shape Complexity to guide simplification of geospatial data for use in Location-based Services (Submitted to The7th International Symposium on LBS & TeleCartography 2010)
Using Java XML Tool to Process OSM Data (Abstract), State of the Map 2010 Spain
At present, we plan to submit a paper to ACM-GIS 2010…
![Page 4: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/4.jpg)
OverviewOverview
Introduction to the OSM data & Processing Model
Extension of this work-- selective transmission for LBS based on shape complexity & representation
How to calculate if a polygon in OSM should be simplified
![Page 5: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/5.jpg)
References & Related workReferences & Related work
� Measuring the Complexity of Polygonal Objects --Thomas Brinkhoff
� Convexity Rule for Shape Decomposition Based on Discrete Contour Evolution --Longin Jan Latecki and Rolf Lak¨amper
� Progressive Vector Transmission --Michela Bertolotto Max J. Egenhofer
� Location-based algorithms for finding sets of corresponding objects over several geo-spatial data sets--ELIYAHU SAFRA etc.
� Extended Hausdorff distance for spatial objects in GIS --D. MIN, L. ZHILIN and C. XIAOYONG
� Choosing the scale and extent of maps for navigation with mobile computing systems --Julie Dillemuth
� And more……
![Page 6: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/6.jpg)
Example of Simplification
� For the small Screen of mobile device
� Lower detail and less points is enough
�But is with higher performance
RELATED PROJECT:“Topoligical consistent generalisation of OpenStreetMap”Padraig Corcoran
![Page 7: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/7.jpg)
OpenStreetMap---------a free geographic data
OpenStreetMapOpenStreetMap------------------a free geographic dataa free geographic data
� A free editable map of the world
� collected by OSM volunteers
� GPS trails , Paper Maps or Map tracing (WMS)
OSM DATA:
� OSM data is made publicly available for download
� In OSM XML format
� This OSM XML can be processed using XML tools or
� Storage in Database or A GIS System
![Page 8: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/8.jpg)
OpenStretMapOpenStretMapOpenStretMap
XMLXMLXML
UTMUTMUTM
OpenStreetMap---------a free geographic data
OpenStreetMapOpenStreetMap------------------a free geographic dataa free geographic data
![Page 9: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/9.jpg)
Data Extraction: download OSM data for LBS device
Many limitations in Location-based Service device� —limited storage space, lack of GPS capable component, poor network speed
Our Software
� ---Select the OSM data in a small area and Process Data by Stream:
Using OSM 6.0 API:
![Page 10: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/10.jpg)
OpenSource XML Proceesing
![Page 11: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/11.jpg)
Software Tool For Polygon Examination
![Page 12: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/12.jpg)
Automated Extraction of connected lines and polygons from OpenStreetMap data
The problem --with the XML representing the OSM
� 1.Large geographical area� 2.Large number of lines and polygons.
The original topic:�Extract CONNECTED lines and polygons from OSM XML automatically�Check if (Water feature) polygons are correctly connected
![Page 13: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/13.jpg)
Case Study: spatial connectivity feature in OSM Dataspatial connectivity feature in OSM Data
NOT JOINED
Reality-Lakes are joined
Apparently connected
But NOT in data
Connected?
![Page 14: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/14.jpg)
Spatial Measurement and Query
PostGIS Database function:Check the spatial intersects listQuery the connected polygons
Our Connection algorithms for Real time processing :---- Based on common points and minimum distance
1. Checking if the points of one polygon are inside of another polygon2. Checking the Hausdorff distance between polygons3. Looking at some special features like lake or forest etc.
![Page 15: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/15.jpg)
Complexity Measurement
� Circularity
� Area Ratio (convex hull)
� (Perimeter Ratio)
� (Notch Ratio)
Points Representation Measurement
� K-mean
� Number of Points
Shape Characteristics Examination
![Page 16: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/16.jpg)
Kmean
With BIG turning angle and lengths of edges between nodes
the mean of KS--(Kmean) is High
With SMALL turning angle and lengths of edges between nodes
the Kmean is Low
![Page 17: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/17.jpg)
Related Work(1)Related Work(1)
Ref1. “Measuring the Complexity of Polygonal Objects”� What does “complex” mean?� Using a basic set of parameters to describe a polygon and a set of
intuitive lingual properties.
� It presents a complexity model consisting of some quantitative parameters
Ref2. “Convexity Rule for Shape Decomposition Based on Discrete Contour Evolution”
� How significant the vertex are , based on turning angle measurement
�
![Page 18: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/18.jpg)
Survey to establish if a polygon was “Complex” or “Simple”
• 5 participants (2 with GIS experience, 1 IT, 2 non-IT)
• Provided with a computer display of 70 OpenStreetMap polygons from Ireland
• Asked to indicate whether they thought a given polygon had a “SIMPLE” shape or a “COMPLEX” shape
• Majority vote assigned to corresponding polygon
![Page 19: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/19.jpg)
The results of the visual survey revealed two distinct clusters --------based on Area Ratio and Circularitybased on Area Ratio and Circularity
![Page 20: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/20.jpg)
Small Area-Simple:with large number of points
Ireland N = 188, Area= 0.89Km2
![Page 21: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/21.jpg)
Ireland N = 73, Area = 3.8Km2
Large area-Complex:with small number of points
![Page 22: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/22.jpg)
Iceland N = 31, Area = 50Km2
V.Large area-Simple-V.small number of points
![Page 23: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/23.jpg)
Using Complexity score and kmeanto guide simplification
Kmean=0.05800859
N=77
(C,A):
Circularity=0.861512427
Area Ratio=0.011622088
Simple
Simplify
(Over-represented)
![Page 24: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/24.jpg)
Using Complexity score and kmeanto guide simplification
Kmean=0.413741977
N=46
(C,A):
Circularity=0.226001057
Area Ratio=0.345190904
Simple
NOT Simplify
(Under-represented)
![Page 25: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/25.jpg)
Using Complexity score and kmeanto guide simplification
Kmean=0.468329285
N=51
(C,A):
Circularity=0.092120599
Area Ratio=0.724879782
Complex
NOT Simplify
(Under-represented)
![Page 26: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/26.jpg)
Using Complexity score and kmeanto guide simplification
Kmean<0.01
N=647
(C,A):
Circularity=0.049611775
Area Ratio=0.515551784
Complex
Simplify
(Over-represented)
![Page 27: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/27.jpg)
Nearest neighbour for Kmean
Unknown Polygon
![Page 28: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/28.jpg)
Bayes Classification
1
2
3
4
5
6
7
0.05 0.10 0.15 0.20 0.25 0.30
More More significant significant
VertexVertex
More More unsignificantunsignificant
VertexVertex
Complex
Simple
Complex polygons Kmean distribution
Simple polygons Kmean distribution
� Mean and sigma for kmeanof complex and simple polygons
� Estimate the possibility of the kmean for classification
NP
Kmean
![Page 29: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/29.jpg)
Results from Iceland Dataset (50 Polygons)
Disagreement Amongst Classifiers:Complex (1) and Simple (1)
![Page 30: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/30.jpg)
Results from Denmark Dataset(70 Polygons)
Disagreement Amongst Classifiers:Complex (0) and Simple (2)
![Page 31: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/31.jpg)
Results from Ireland Dataset(64 Polygons)
Disagreement Amongst Classifiers:Complex (0) and Simple (1)
![Page 32: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/32.jpg)
Diagreement – Ireland (Simple) OSM ID = 22728087
Bayesian = SimplifyNN = Don't Simplify
![Page 33: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/33.jpg)
Diagreement – Iceland (Complex) OSM ID = 26373032
Bayesian = Don't SimplifyNN = Simplify
![Page 34: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/34.jpg)
Overall we found only a weak linkage between shape complexity and the need to simplify the shape
Human participants – COMPLEXITY was related to visua l aspects of the shape
Suggestion to simplify – based on the shape structure –kmeans,
![Page 35: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/35.jpg)
Comparison: representation of natural features in OSM and OSI Data
Ordnance Survey Data – Made available by OSI to the STRAT-AG project
OSMOrdnance Survey
NO OSM Representation
Under representationby OSM data?
![Page 36: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/36.jpg)
Try to establish the degree of under/over representation in OSM polygons
OSMOrdnance Survey
![Page 37: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/37.jpg)
Discussion of Applications
� A environmental-aware LBS device should aim to inform users about their relevant surroundings.
� E.g. When used for a moving LBS device in the outdoors, our application should draw the map with large geographic information in a limited screen dynamically
� Provide the user with coarser versions of the data before downloading a complete geographic data
� So which part should be delivered as a priority and then progressively displayed?
![Page 38: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/38.jpg)
Extended work: Selective Progressive Transmission ---Based on Shape Complexity
![Page 39: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/39.jpg)
Related Work(2)Related Work(2)
Ref3. ”Progressive Vector Transmission”� describe a model for multiple representations of maps that can be transmitted progressively
Ref4. ”Location-based algorithms for finding sets of corresponding objects over several geo-spatial data sets”
� Using a join algorithm for finding sets of corresponding
objects, When integrating several geo-spatial data sets.
![Page 40: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/40.jpg)
Related Work(3)Related Work(3)
Ref5. “Extended Hausdorff distance for spatial objects in GIS”
� measuring the dispersion and the central tendency of the distance distribution between spatial objects.
� Using the computation of the median Hausdorff distance for structural similarity measure
Ref6. “Choosing the scale and extent of maps for navigation with mobile computing systems”
� Using time-scale-bars and isochrones as potential methods of spatiotemporal information delivery to users of personal navigation systems.
![Page 41: Applying the Shape Complexity Measures to Spatial …fying/AP/PhD_seminar_Fangli_Ying_2010.pdfUsing Java XML Tool to Process OSM Data (Abstract), ... Overview Introduction to the OSM](https://reader034.vdocuments.site/reader034/viewer/2022051801/5ae4229f7f8b9a90138e88db/html5/thumbnails/41.jpg)
Future work
� This research investigated polygon representation and simplification in OSM at a 1:1 scale
� Future work (1) – look at complexity and representation of OSM polygons at different scales
� Future work (2) – look at groups of polygons and lines in the same geographical area