Changes

Jump to navigation Jump to search
Line 428: Line 428:     
=== Generic Attributes ===
 
=== Generic Attributes ===
Generic (user defined) attributes may be used to represent attributes which are not covered explicitly by the CityGML schema. Generic attributes must be used with care; they shall only be used if there is no appropiate attribute available in the overall CityGML schema. Oherwise, problems concerning semantic interoperability may arise. A generic attribute has a name and a value, which has further subclasses.
+
Generic (user defined) attributes may be used to represent attributes which are '''not covered explicitly by the CityGML schema'''. Generic attributes must be used with care; they shall only be used if there is no appropriate attribute available in the overall CityGML schema. Otherwise, problems concerning semantic interoperability may arise. Interoperability of generic attributes is '''reduced to attribute values''' which can  only be interpreted semantically by additional information.
 
+
Es stehen folgende Attributtypen zur Verfügung:
Da diese Attribute '''keine im Standard verankerten Definitionen''' haben, beschränkt sich die '''Interoperabilität''' lediglich auf die entsprechenden '''Attributwerte'''. Eine semantische Auswertung kann nur durch '''zusätzliche''' Informationen erfolgen. Es stehen folgende Attributtypen zur Verfügung:
+
* ''stringAttribute'' - for arbitrary strings
* ''stringAttribute'' - erlaubt eine beliebige Zeichenfolge
+
* ''intAttribute'' - for dimensionless integer numbers
* ''intAttribute'' - erlaubt einen dimensionslosen ganzzahligen Wert
+
* ''doubleAttribute'' - for dimensionless floating point numbers
* ''doubleAttribute'' - erlaubt eine dimensionslose Gleitkommazahl
+
* ''dateAttribute'' - for dates with integer-valued year, month and day representation in the format YYYY-MM-DD (e.g. 2013-03-08)
* ''dateAttribute'' - erlaubt eine Datumsangabe im Format Jahr-Monat-Tag (2012-03-08)
+
* ''uriAttribute'' - represents a Uniform Resource Identifier Reference (URI) (e.g. a link to a document or a web site)
* ''uriAttribute'' - erlaubt eine URI (Unified Resource Identifier) (z.B. Verweis auf ein Dokument oder eine Webseite)
+
* ''measureAttribute'' - for dimensioned values (CityGML 2.0)
* ''measureAttribute'' - erlaubt dimensionsbehaftete Werte (CityGML 2.0)
  −
 
  −
Zur '''Gruppierung''' von generischen Attributen steht mit CityGML 2.0  '''''genericAttributeSet''''' zur Verfügung.
      +
Attributes can be combined in CityGML 2.0 by generic attribute sets '''''genericAttributeSet''''' with an optional codeSpace. If the codeSpace attribute is present, then its value should identify an authority for the set, such as the organisation or community who defined its content. The generic attribute set may contain arbitrary generic attributes.
    
'''CityGML Examples'''
 
'''CityGML Examples'''
   −
  <gen:stringAttribute name="'''Bauweise'''"><gen:value>'''Massivbau'''</gen:value></gen:stringAttribute>
+
  <gen:stringAttribute name="'''construction'''"><gen:value>'''concrete'''</gen:value></gen:stringAttribute>
  <gen:intAttribute name="'''Anzahl der Eingänge'''"><gen:value>'''3'''</gen:value></gen:intAttribute>
+
  <gen:intAttribute name="'''entries'''"><gen:value>'''3'''</gen:value></gen:intAttribute>
  <gen:doubleAttribute name="'''Grundflächenzahl GFZ'''"><gen:value>'''0.33'''</gen:value></gen:doubleAttribute>
+
  <gen:doubleAttribute name="'''floor area ratio FAR'''"><gen:value>'''0.33'''</gen:value></gen:doubleAttribute>
  <gen:dateAttribute name="'''Datum der Baufreigabe'''"><gen:value>'''2012-03-09'''</gen:value></gen:dateAttribute>  
+
  <gen:dateAttribute name="'''approval date'''"><gen:value>'''2012-03-09'''</gen:value></gen:dateAttribute>  
  <gen:uriAttribute name="'''Web Seite'''"><gen:value>'''http://www.sig3d.org'''</gen:value></gen:uriAttribute>
+
  <gen:uriAttribute name="'''website '''"><gen:value>'''http://www.sig3d.org'''</gen:value></gen:uriAttribute>
  <gen:measureAttribute name="'''Breite des Gebäudes'''"><gen:value uom="#'''m'''">'''10.00'''</gen:value>/gen:measureAttribute>
+
  <gen:measureAttribute name="'''building width'''"><gen:value uom="#'''m'''">'''10.00'''</gen:value>/gen:measureAttribute>
    
  <gen:genericAttributeSet name="'''Base Quantities'''">
 
  <gen:genericAttributeSet name="'''Base Quantities'''">
writer
465

edits

Navigation menu