Presentation is loading. Please wait.

Presentation is loading. Please wait.

Point in Polygon Analysis for Moving Objects Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan University of Tehran, Iran Technical University.

Similar presentations


Presentation on theme: "Point in Polygon Analysis for Moving Objects Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan University of Tehran, Iran Technical University."— Presentation transcript:

1 Point in Polygon Analysis for Moving Objects Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan University of Tehran, Iran Technical University Vienna, Austria University of Tehran, Iran Pontypridd, Wales, UK September 5 – 8, 2005 DMGIS’ 05 Presenter: Eva Grum Technical University Vienna, Austria

2 Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan Point in Polygon Analysis for Moving Objects DMGIS’ 05 Pontypridd, Wales, UK September 5 – 8, 2005 Overview Time in GIScience Moving objects Computational model formalization Case Study: Point in polygon analyses

3 Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan Point in Polygon Analysis for Moving Objects DMGIS’ 05 Pontypridd, Wales, UK September 5 – 8, 2005 Goals Demonstrate a uniform approach to analysis of static and dynamic situations using time lifting. Show how it applies to operations used for the analysis of spatio-temporal data.

4 Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan Point in Polygon Analysis for Moving Objects DMGIS’ 05 Pontypridd, Wales, UK September 5 – 8, 2005 Everything changes: Time is a dimension of reality Interest in change, seldom in static situation Deficiencies in current GIS:  Lack of comprehensive ontology  Discrete or partial continuous treatments  Dominance of analytical approaches  Context-based viewpoints GI Science and Theory : Time

5 Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan Point in Polygon Analysis for Moving Objects DMGIS’ 05 Pontypridd, Wales, UK September 5 – 8, 2005 GI Theory Development: Category Theory Fundamental concepts  Category A collection of primitive element types (domains), a set of operations on those types (morphisms) Composition of morphism: · Identity morphism id (do nothing op!). A C B D f1 f2 f4 f3 f5

6 Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan Point in Polygon Analysis for Moving Objects DMGIS’ 05 Pontypridd, Wales, UK September 5 – 8, 2005 Functors give a principled way of extending an algebra “ Many constructions of a new algebraic system from a given one also construct suitable morphism of the new algebraic system from morphism between the given ones. These constructions will be called 'functors' when they preserve identity morphism and composites of morphisms." (Mac Lane and Birkhoff 1967 p.131)

7 Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan Point in Polygon Analysis for Moving Objects DMGIS’ 05 Pontypridd, Wales, UK September 5 – 8, 2005 Examples for well known Functors: In school you were faced with the problem of dividing 2 apples among 4 people.  No solution with integers! We added rational numbers. To find square roots to all real numbers, we went to complex numbers. To solve geometric operations in 3d all the time, use homogenous coordinates!

8 Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan Point in Polygon Analysis for Moving Objects DMGIS’ 05 Pontypridd, Wales, UK September 5 – 8, 2005 GI Theory Development: Functor A mapping between categories: Let C and D be categories. A functor F from C to D is a mapping that:  Maps each object X in C to an object F(X) in D,  Maps each morphism f : R → V in C to a morphism F(f) : F(R) → F(V) in D Such that:  Identity maps to identity: F(id(X)) = id(F(X)) for every object  Composition is preserved: F(g ·f) = F(g) · F(f) for all morphisms f:X  Y and g:Y  Z.

9 Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan Point in Polygon Analysis for Moving Objects DMGIS’ 05 Pontypridd, Wales, UK September 5 – 8, 2005 Functional Formalization of Time Change and movement is formalized as a function from time to a position or an object property value. Changing v = Time → v wherev = any static type Time = Data type for time These functions are Functors!

10 Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan Point in Polygon Analysis for Moving Objects DMGIS’ 05 Pontypridd, Wales, UK September 5 – 8, 2005 Extending analytical functions to work with temporal data Given the basic operations (e.g. +, -, *) for static and dynamic data. Construct analytical functions which work for static data to apply to dynamic data: Automatically change the base operations they are constructed from. This is called “Lifting” (and is achieved by overloading)

11 Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan Point in Polygon Analysis for Moving Objects DMGIS’ 05 Pontypridd, Wales, UK September 5 – 8, 2005 Case Study: Point in Polygon Analysis for Moving Objects Given a method for “point in polygon” test for static points, Construct a test for moving points. Part of a series of tests to lift all low level analytical functions used in GIS to work on moving points:  Convex hull  Voronoï diagram etc.

12 Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan Point in Polygon Analysis for Moving Objects DMGIS’ 05 Pontypridd, Wales, UK September 5 – 8, 2005 Time Lifting of Primitive Elements  Changing Number  Changing Point Time Lifting of Basic Operators Time Lifting type Changing v = time → v lift0 a = \t → a lift1 op a = \t → op (a t) lift2 op a b = \t → op (a t) (b t) (+) = lift2 (+) (-) = lift2 (-) (*) = lift2 (*) (/) = lift2 (/)

13 Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan Point in Polygon Analysis for Moving Objects DMGIS’ 05 Pontypridd, Wales, UK September 5 – 8, 2005 Lifting the analytical function pointInPolygon:: Point a -> [Polygon a] -> Id_of_Polygon Without programming lifted by overloading to: pointInPolygon:: Changing (Point a) -> [Polygon a] -> Changing Id_of_Polygon

14 Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan Point in Polygon Analysis for Moving Objects DMGIS’ 05 Pontypridd, Wales, UK September 5 – 8, 2005 Case Study: Point IDt=0t=10t=20 1 453 2 974 3 1061 4 238 5 675 t=0 Determine for a moving point the polygon it is in for different time points

15 Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan Point in Polygon Analysis for Moving Objects DMGIS’ 05 Pontypridd, Wales, UK September 5 – 8, 2005 Conclusions Category theory is the high level abstraction that provides the environment in which a theory of space-time fields and objects is possible. Models for static analysis can be lifted to apply to dynamic situations without reprogramming.


Download ppt "Point in Polygon Analysis for Moving Objects Farid Karimipour Mahmoud R. Delavar Andrew U. Frank Hani Rezayan University of Tehran, Iran Technical University."

Similar presentations


Ads by Google