i scope timedependentvariables

16
i-SCOPE - i nteroperabl S mart C ity services through O pen P latform for urba E cosystem CityGML - Time Dependent Variables Debbie Wilson – Snowflake Software Peter Parslow - Ordnance Survey Volker Kraut - MOSS interoperable Smart City services through an Open Platform urban Ecosystem

Upload: debbie-wilson

Post on 24-May-2015

239 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

CityGML - Time Dependent Variables

Debbie Wilson – Snowflake Software Peter Parslow - Ordnance Survey

Volker Kraut - MOSS

interoperable Smart City services through an Open Platform for urban Ecosystems

Page 2: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

Overview

• What is a time-dependent variable?• Real-world objects may have dynamic properties that varying over time• Some phenomenon such as temperature or noise are highly dynamic

over space and time

• A time-dependent variable defines property value(s) for a specific reference time

• Requirements:1. Must be generic and can be applied to any City Object2. Support both simple and complex variables:

• Single scalar value (i.e. indicator or measure)• Time-series• Composite scalar values (e.g. min, max, mean)

3. Provide metadata about the time dependent variable• How was the time-dependent variable derived?

Page 3: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

Time Dependent Variable• Proposed model:

• Generic TimeDependentVariable <<FeatureType>> extends from Abstract City Object

• Follows similar modelling pattern to ISO 19156 – Observations and Measurements

Time-Dependent Variable

ProcessProperty Type

ValueTime

Page 4: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

Requirements• Two Requirements:

1. Append properties to a City Object that relates to a specific reference time

2. 3D modelling of dynamic phenomenon which vary over space and time that do not relate to a specific City Object:• Thematic Heat Map or • Thematic Contour Map

Page 5: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

TimeDependentVariable

class Context Diagram: Time-Dependent Variables

«metaclass»General Feature Model::

GF_PropertyType{root}

+ memberName :LocalName+ definition :CharacterString

«FeatureTyp...observation::OM_Process

«type»Records and

Class Metadata::Any

{root}

«FeatureType»TimeDependentVariable

+ referenceTime :TM_Object+ validTime :TM_Period [0..1]

«Union»Variable

«dataType»CityGML_Core::

AbstractGenericAttribute

+ name :CharacterString

«DataType»TimeDpendentVariable - TimeSeries::TimeSeries

Phenomenon

+property

1

Process

+procedure

0..1

Range

+variable 1

1

1 1NOTE: v0.2 change to “constrain” the variable type to either:• CityGML generic attribute• TimeSeries• Any – which shall be

substituted for complex types defined within an ADE

Page 6: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

Extending AbstractCityObject• Two Options

1. Extend AbstractCityObject to add a timeDependentVariable as a new property class CityGML ADE: Extending Abstract CityObject

«FeatureType»TimeDependentVariable::TimeDependentVariable

+ referenceTime :TM_Object+ validTime :TM_Period [0..1]

«FeatureTyp...observation::OM_Process

«type»Records and

Class Metadata::Any

{root}

«ADEElement»TimeDependentVariable::AbstractCityObject

+ timeDependentVariable :TimeDependentVariable [0..*]

«featureType»CityGML_Core::AbstractCityObject

+ creationDate :Date [0..1]+ terminationDate :Date [0..1]+ externalReference :ExternalReference [0..*]+ relativeToTerrain :RelativeToTerrain [0..1]+ relativeToWater :RelativeToWater [0..1]+ genericAttribute :AbstractGenericAttribute [0..*]

«metaclass»General Feature Model::

GF_PropertyType{root}

+ memberName :LocalName+ definition :CharacterString

Phenomenon

+property 1

+generalizesTo 0..*

Process

+procedure

0..1

Range

+variable 1

Page 7: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

Page 8: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

Extending AbstractCityObject• Two Options

1. Extend AbstractCityObject to add a timeDependentVariable as a new property

2. Extend AbstractGenericAttribute to add TimeDependentVariable as a new generic attribute

class Option 3: Extending GenericAttribute

«dataType»CityGML_Core::

UriAttribute

+ value :URI

«dataType»CityGML_Core::StringAttribute

+ value :CharacterString

«dataType»CityGML_Core::

MeasureAttribute

+ value :Measure

«dataType»CityGML_Core::

IntAttribute

+ value :Integer

«dataType»CityGML_Core::

DateAttribute

+ value :Date

«dataType»CityGML_Core::DoubleAttribute

+ value :Number

«dataType»CityGML_Core::

AbstractGenericAttribute

+ name :CharacterString

«DataType»TimeDependentVariable::TimeDependentAttribute

+ value :TimeDependentVariable

Page 9: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

Page 10: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

Creating a Thematic Heat Map City Object• Two Options

1. Model the TimeDependentVariable class as a new City Object, then create a ThematicHeatMap that extends TimeDependentVariable

Page 11: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

Time Dependent Variable

TimeDependentVariable Modelled as a City Object

class Context Diagram: Time-Dependent Variables

«featureType»CityGML_Core::AbstractCityObject

+ creationDate :Date [0..1]+ terminationDate :Date [0..1]+ externalReference :ExternalReference [0..*]+ relativeToTerrain :RelativeToTerrain [0..1]+ relativeToWater :RelativeToWater [0..1]+ genericAttribute :AbstractGenericAttribute [0..*]

«metaclass»General Feature Model::

GF_PropertyType{root}

+ memberName :LocalName+ definition :CharacterString

«FeatureTyp...observation::OM_Process

«type»Records and

Class Metadata::Any

{root}

«FeatureType»TimeDependentVariable

+ referenceTime :TM_Object+ validTime :TM_Period [0..1]

«Union»Variable

«dataType»CityGML_Core::

AbstractGenericAttribute

+ name :CharacterString

«DataType»TimeDpendentVariable - TimeSeries::TimeSeries

+generalizesTo 0..*

Phenomenon

+property

1

Process

+procedure

0..1

Range

+variable 1

1

1 1

Option 1

Page 12: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

class Context Diagram: Noise Heat Map

«FeatureType»ThematicHeatMapSurface

+ lod0Surface :GM_MultiSurface [0..1]+ lod1Surface :GM_MultiSurface [0..1]

AbstractCityObject

«FeatureType»TimeDependentVariable::TimeDependentVariable

+ referenceTime :TM_Object+ validTime :TM_Period [0..1]

«DataType»NoiseExposureDataRecord

+ minLAeq :Measure+ maxLAeq :Measure+ meanLAeq :Measure

«FeatureType»observation::OM_Process

«FeatureType»SurfaceNoiseMap

constraints{/* variable must be a NoiseExposureDataRecord */inv: self.variable.oclIsKindOf(NoiseExposureDataRecord)}

«FeatureType»RasterThematicHeatMap

constraints{/* variable must be a GM_RectifiedGridCoverage*/inv: self.variable.oclIsKindOf(GM_RectifiedGridCoverage)}

«metaclass»General Feature Model::

GF_PropertyType{root}

Phenomenon

+property 1

+variable

1

Process

+procedure 0..1

Creating a Thematic Heat Map City ObjectOption 1

Can then extend the TimeDependentVariable feature to generate ThematicHeatMap

features and can specify ‘profile’ the variable type

Page 13: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

Example – Option 1 – Creating a Thematic Heat Map

Page 14: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

Creating a Thematic Heat Map City Object• Option 2

• Model the ThematicHeatMap as a new CityObject that uses the a generic time dependent variable attribute class Noise Map: Generic Attribute

«FeatureType»SurfaceNoiseMap_GenericAttribute

+ lod0Surface :GM_MultiSurface [0..1]+ lod1Surface :GM_MultiSurface [0..1]

«ADEElement»TimeDependentVariable::AbstractCityObject

+ timeDependentVariable :TimeDependentVariable [0..*]

«featureType»CityGML_Core::AbstractCityObject

+ creationDate :Date [0..1]+ terminationDate :Date [0..1]+ externalReference :ExternalReference [0..*]+ relativeToTerrain :RelativeToTerrain [0..1]+ relativeToWater :RelativeToWater [0..1]+ genericAttribute :AbstractGenericAttribute [0..*]

+generalizesTo 0..*

class Noise Map: Generic Attribute

«FeatureType»SurfaceNoiseMap_GenericAttribute

+ lod0Surface :GM_MultiSurface [0..1]+ lod1Surface :GM_MultiSurface [0..1]

«featureType»CityGML_Core::AbstractCityObject

+ creationDate :Date [0..1]+ terminationDate :Date [0..1]+ externalReference :ExternalReference [0..*]+ relativeToTerrain :RelativeToTerrain [0..1]+ relativeToWater :RelativeToWater [0..1]+ genericAttribute :AbstractGenericAttribute [0..*]

+generalizesTo 0..*

Or

Page 15: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

Page 16: I scope timedependentvariables

i-SCOPE - interoperable Smart City services through an Open Platform for urban Ecosystems

Conclusions