Presentation is loading. Please wait.

Presentation is loading. Please wait.

GIS Modeling N.L. Sarda IIT Bombay For class-room usage only (based on ISO standards documents)

Similar presentations


Presentation on theme: "GIS Modeling N.L. Sarda IIT Bombay For class-room usage only (based on ISO standards documents)"— Presentation transcript:

1 GIS Modeling N.L. Sarda IIT Bombay For class-room usage only (based on ISO standards documents)

2 Whoville Cedar Lake Integrated View Internet Display multiple layers of geographic data within a single application Display multiple layers of geographic data within a single application Query and update Query and update Discover, access and retrieve views from multiple servers Discover, access and retrieve views from multiple servers Crime Social Services Land Parcel Weather Environment Parcels Roads Images Boundaries... Catalog View Standards for modeling Geographic data – multiple sources GML from OGC

3 Need for standards For sharing For inter-operability For data exchange Heterogeneity exists at –Conceptual/modeling/User-view levels –At representation level –At storage level ISO/OGC provides a framework addressing all these levels –Separate description from data (schema and instances)

4 Data interchange - using application schema

5 From real-world to data - based on geographic features

6 Create application model

7 GML Application Schemas GML Schemas Cadastre, Land Use Cadastre, Land Use Traffic And Transport Traffic And Transport Telecom Environ- ment Environ- ment … … XML Technologies / W3C

8 ISO framework Provide concepts for defining features at conceptual level Core concepts : –Feature –Properties : attributes, operations and relationships –supports spatial and non-spatial properties of objects Advanced concepts : metadata, geography, collections, … leaves it to implementers to decide whether application schemas and datasets are stored in native GML or whether GML is used only for schema and data transport

9 GML Schemas GML Schemas are horizontal and not focused on a specific application domain They provide common constructs and concepts which may be used by all the different application domains

10 GML Schemas Base schemas, general syntax, feature model, metadata mechanisms Basic geometry (0d, 1d, 2d) Additional geometric primitives (0d, 1d, 2d, 3d) Geometric composites Geometric aggregates Coordinate reference systems Topology Temporal information and dynamic features Definitions and dictionaries Units, measures and values Directions Observations Coverages Default styling

11 GML Application Schema Schema to describe features, coordinate reference systems, geometry, topology, time, units of measure and generalized values. An application schema declares the actual feature types and property types of interest for a particular domain. These involve defining application-specific types which are derived from types in the standard GML schemas, or by directly including elements and types from the standard GML schemas.

12 Modeling Based on defining features Feature is a type or class with properties that define –Its attributes –Its operations –Its relationships with other features

13 Basic UML components

14 General Feature Model

15 Feature Attributes

16 Modelling Feature Types Road name class maintainer I95 Interstate xyz centerLine gml:Curve reach consensus about the vocabulary --- feature types and their properties

17 Feature in GML I95 Interstate... xyz

18 Relationships between features

19 Application schemas Uses base schemas May also use other application schemas –As domains are inter-related –Road network may be used in Transportation, Tourism, … Basic schemas also categorized –Temporal –Quality …

20 Using base schemas in application schema

21 Example schema integration

22 From feature catalogue to schema

23 UML Modeling of Application Schema the data provider and the data receiver are supposed to agree on a so-called application schema. An application schema is typically UML class diagrams expressing the structure and content of the data to be exchanged. The standard ISO 19109 Rules for application schema prescribes how to make an application schema in UML.

24 UML Application Schema (Example) Region dateCreated: date population: integer extentOf: polygonPropertyType River riverName: String remark: String centerLineOf: LineStringPropertyType Roads roadName: String classification: String linearGeometry: LineStringPropertyType City cityName: String remark: String pointProperty: pointPropertyType AbstractFeature AbstrctFeatureCollection

25 Example

26 Top10vector

27 Spatial Objects Infrastructure Type Accessibility Status Cultivation Type Cultivation Position Height Class Height Status Height Level Name Grounds Use Physical Appearance Accessibiltty Appearance Height Level Name * ** Top10Object (is a collection) Top10Schema

28 Top10Object TemporalObject BeginDate EndDate MetadataObject SourceType SourceDescription Exactness Topic (time and metadata is associated with features and not with collections)

29 Infrastructure Rail Road Part Traffic Use Physical Appearance Track Width No. Travel by Train Position Track Electrification Height Level GeometryProperty Water Part Water Type Salt Content Physical Appearance Use Stream Direction Height Level Name UseEnumeration Water Purification Swimming Pool Remaining StreamDirectionEnumeration One Direction Two Direction Way Divide Way Type HeadTraffic Use Crossings No. of Lanes Street Name Way No. Hardening Width Hardening Type Hardening Material Hardening with Class HardeningwithClassEnum >7 m 4-7 m 2-4 m <2 m ElectrificationEnumeration Electrified Not Electrified

30 ferry NH1 4 lanes NH1 - B NH1 - A NH1 Over Bridge Express Highway Administrative Boundary House 1 House 2 NH1 River Ganges A Real World Example (identify objects and their types as per Top10 schema)

31 Ferry( O 7 ) NH1 4 lanes NH1 - B NH1 - A NH1 Over Bridge(O 10 ) Express Highway Administrative Boundary House 1 House 2 NH1 River Ganges( O 8 ) O1O1 O 1 = Object 1 O2O2 O3O3 O4O4 O5O5 O6O6 O9O9 O 12 O 13 O 14 O 15 Road below the Bridge(O 11 ) N All objects given unique IDs

32 :AdministrativeAreas Type=“Administrative Boundary” Name=”Political” gml: GeometricProperty Fid=“TOP10.23450” gml: lineString 279432.400,186263.800 279430.900,186270.200 279424.800,186289.300 279420.400,186302.400 279416.300,186314.300 279411.500,186327.700 279406.600,186340.800 279403.000,186349.100 279397.900,186361.200 …. Maharastra:Top10ThemasMumbai:Top10Thema :Spatial Objects (O 1 ) Object Diagram of the above Real World Example

33 :Spatial Objects Road: WayPart beginDate = “6 jul 2004” No. of Lanes = “2” Street Name = “NH1” Way No.= “W7488” Height Level= “0” gml: GeometricProperty Fid=“TOP10.23456” Type=“Road” beginDate inherited from TemporalObject gml: Polygon 279432.400,186263.800 279430.900,186270.200 279424.800,186289.300 279420.400,186302.400... Road: WayPart gml: Polygon 279389.900,186379.100 279430.900,186270.200 279424.800,186289.300 279420.400,186302.400... beginDate = “6 jul 2004” No. of Lanes = “4” Street Name = “NH1” Way No.= “W7488” Height Level= “0” gml: GeometricProperty Fid=“TOP10.23457” Type=“Road” Road: WayPart gml: Polygon 279399.900,186379.100 279430.900,186270.200 279424.800,186289.300 279420.400,186302.400 279416.300,186314.300... beginDate = “6 jul 2004” No. of Lanes = “2” Street Name = “NH1” Way No.= “W7488” Height Level= “0” gml: GeometricProperty Fid=“TOP10.23460” Type=“Road” (O 2 ) (O 3 ) (O 4 )

34 :Spatial Objects Road: WayPart gml: Polygon 279389.900,186379.100 279430.900,186270.200 279424.800,186289.300 279420.400,186302.400 …. beginDate = “6 jul 2004” No. of Lanes = “2” Street Name = “NH1” Way No.= “W7488” Height Level= “0” gml: GeometricProperty Fid=“TOP10.23461” Type=“Road” Road: WayPart gml: linearRing 345678.200, 243455.345 279430.900,186270.200 279424.800,186289.300 279420.400,186302.400 ….. beginDate = “6 jul 2004” No. of Lanes = “1” Street Name = “NH1” Way No.= “W7488” Height Level= “0” gml: GeometricProperty Fid=“TOP10.23458” Type=“Road” Crossing: WayPart gml: Polygon 279389.900,186379.100 279430.900,186270.200 279424.800,186289.300 279420.400,186302.400 …. beginDate = “6 jul 2004” No. of Lanes = “2” Street Name = “NH1” Way No.= “W7488” Height Level= “0” gml: GeometricProperty Fid=“TOP10.23462” Type=“Ferry” gml: Polygon 279389.900,186379.100 279430.900,186270.200 279424.800,186289.300 279420.400,186302.400 …. (O 5 ) (O 6 ) (O 7 ) (O 8 ) :Water Part Water Type=“River” Salt Content=“Nil” Use=“Remaining” Direction=“OneDirection” Height Level=“0” Name=“Ganges” gml: GeometricProperty Fid=“TOP10.23454” :Infrastructure

35 :Spatial Objects Road: WayPart beginDate = “6 jul 2004” No. of Lanes = “2” Street Name = “NH1” Way No.= “W7488” Height Level= “0” gml: GeometricProperty Fid=“TOP10.23456” Type=“Road” gml: Polygon 279432.400,186263.800 279430.900,186270.200 279424.800,186289.300 279420.400,186302.400... Road: WayPart gml: Polygon 279389.900,186379.100 279430.900,186270.200 279424.800,186289.300 279420.400,186302.400... beginDate = “6 jul 2004” No. of Lanes = “4” Street Name = “NH1” Way No.= “W7488” Height Level= “0” gml: GeometricProperty Fid=“TOP10.23457” Type=“Road” (O 9 ) (O 10 ) Road: WayPart gml: lineString 279389.900,186379.100 …. beginDate = “6 jul 2004” No. of Lanes = “2” Street Name = “NH1” Way No.= “W7488” Height Level= “0” gml: GeometricProperty Fid=“TOP10.23454” Type=“Road” (O 11 ) Overbridge Road under bridge Road_under_bridge and Overbridge represents the same area.

36 :Spatial Objects Road: WayPart gml: Polygon 279389.900,186379.100 279430.900,186270.200 279424.800,186289.300 279420.400,186302.400 …. beginDate = “6 jul 2004” No. of Lanes = “1” Street Name = “NH1-A” Way No.= “W7488” Height Level= “0” gml: GeometricProperty Fid=“TOP10.23465” Type=“Road” Crossing: WayPart gml: Polygon 279389.900,186379.100 279430.900,186270.200 279424.800,186289.300 279420.400,186302.400 …. beginDate = “6 jul 2004” No. of Lanes = “1” Street Name = “NH1-B” Way No.= “W7488-B” Height Level= “0” gml: GeometricProperty Fid=“TOP10.23466” Type=“Road” Road: WayPart gml: Polygon 279389.900,186379.100 279430.900,186270.200 279424.800,186289.300 279420.400,186302.400 …. beginDate = “6 jul 2004” No. of Lanes = “2” Street Name = “NH1” Way No.= “W7488” Height Level= “0” gml: GeometricProperty Fid=“TOP10.23467” Type=“Road” (O 12 ) (O 13 )(O 14 ) Road: WayPart gml: Polygon beginDate = “6 jul 2004” No. of Lanes = “2” Street Name = “NH1” Way No.= “W7488” Height Level= “0” gml: GeometricProperty Fid=“TOP10.23467” Type=“Road” (O 15 ) 279389.900,186379.100 279430.900,186270.200 279424.800,186289.300 279420.400,186302.400 ….

37 An Example of a Temporal Feature Ferry(O7) cannot be used on Summer Season as river(O8) may be dry. So NH1 will be closed for those two months. ferry NH1 - B NH1 - A Over Bridge Express Highway Vehicles from East has to choose Express Highway instead. E O7O7 River ( O 8 )

38 UML-to-GML Encoding The mapping UML Application Schema to the corresponding GML Application Schema is based on a set of encoding rules. These encoding rules are compliant with the rules for GML Application Schemas The schema encoding rules are based on the general idea that the class definitions in the application schema are mapped to type and element declarations in XML Schema.

39 UML-to-GML Encoding

40 Geometric primitives

41 Geometric composites

42 Topology Describes ‘invariant’ structural relationships (preserved thru deformations, twisting, etc) Building blocks are Nodes, Edge, Face, … Represent geometric primitives Point, Curve, Surface, … To study reachability, paths, …

43 Topology Model The topology model of the road network encodes Intersections as Nodes Road segments as edges and Collective relationships between edges and nodes Topology Edge Node Curve Point Property Curve Property

44 ferry NH1 4 lanes NH1 - B NH1 - A NH1 Over Bridge Express Highway NH1 River Ganges Topology Model of NH1 Road Network n1 n2 n3 n4 n1 = Node 1 e1 = Edge 1 e1 e2 e3 e4

45 We can represent the Nodes in two ways. - as Objects Here the objects itself can be assigned as nodes. - as Geometry (preferred by OGC) Here the co-ordinates can be considered. But the problem is even a small mismatch in the co-ordinates result in the unidentification of that node.

46 n1(10,20)n3(30,20) n4(40,30) e1e2 e4 n2(20,25) e3 10,20 ……. 10,20,20,25 ……. n1 is the object O 2 n2 is the object O 5 (NH1 Circle) n3 is the object O 10 (Bridge) or O 11 (Road) Nodes as Objects

47 But the problem is which Object we can assign to node n3? (O10) or (O11) Different features can share, partly or completely, the same geometry when they appear to occupy the same position. To share a common geometry, spatial feature attributes must share one or more Geometric Objects. Nodes as Geometry

48 Bridge Type Name Road Name No. of Lanes gml:Curve geometry (O 10 )(O 11 ) This schema requires every Bridge to share the geometry of a Road, but a Road may not have to share the geometry of a Bridge. Nodes as Geometry

49 Spatial complexes – an example

50 GML 3.0 Temporal Define elements for describing the temporal characteristics of geographic data The underlying spatiotemporal model permits –feature-level and attribute-level time stamping –basic support for tracking moving objects –basic support for dynamic features

51 GML 3.0 Temporal

52

53 Using temporal schema for building history

54 Summary Need to define vocabulary (ontology) Define basic themes, feature catalogues Sharing by publishing application schemas Share data in GML format Modeling for NSDI requires coordination and collaboration


Download ppt "GIS Modeling N.L. Sarda IIT Bombay For class-room usage only (based on ISO standards documents)"

Similar presentations


Ads by Google