Map object classes
While registering a domain, in Object Classes (External) set all Fi2 class names as defined by the standard:
fi2property
fi2structure
fi2floor
fi2space
These class names must be used as they will be recognized and mapped to corresponding fi2 object types.
Map Data fields
For each class, user can define any number of mapped fields.
Source class: External class from fi2 schema
Source field - External field name, used when exporting to generic type
Source field type - External field type, e.g. area, class etc
Source value type - External sub type, e.g. BRA, NTA
Target field - Internal Field
Possible field types
Source field type
AREA - use for fields containing area values. Requires Source value type
CLASS - use with dictioranry / lookup fields
VALUE - use for generic values
ID - use for object ID values
NAME - use fro object name tag
ADDRESS - use for object address tag
DESCR - use for object description tag
CONSTRYEAR - use for object contrition year tag
If given type/tag is not allowed by schema on given element class, it will be omitted.
VALUE sample
Use "VALUE" for custom field that do not match any specific type. They will be exported as generic code/value pair:
<fi2space_value> <fi2value_code>space_coclass_ut</fi2value_code> <fi2value_value>BAB</fi2value_value> </fi2space_value>
fi2value_code will be filled in with Source field
fi2value_value will be filled in with the actual target field value
sample with schema:
<fi2space_value> <fi2value_code>CreatedDate</fi2value_code> <fi2value_scheme> <fi2scheme_id>VB001_005_001</fi2scheme_id> <fi2scheme_name>Tillåtna värden för alla typer av fi2objekt</fi2scheme_name> <fi2scheme_url>http://www.fi2.se/valuelist/VB001_005_001.xml</fi2scheme_url> </fi2value_scheme> <fi2value_value>2002-08-19T21:33:02</fi2value_value> </fi2space_value>
ID sample
<fi2space_ids> <fi2_id usage="SpaceId">113</fi2_id> </fi2space_ids>
usage will be filled with Source field
inner content will be filled with the actual target field value
CLASS sample
<fi2space_class> <fi2class_code>211.E</fi2class_code> <fi2class_scheme> <fi2scheme_id>CX001_002_003</fi2scheme_id> <fi2scheme_name>Klassificering BSAB utrymmen</fi2scheme_name> <fi2scheme_url>http://www.fi2.se/classlist/CX001_002_003.xml</fi2scheme_url> </fi2class_scheme> </fi2space_class>
AREA sample
<fi2space_area> <fi2area_code>BRA</fi2area_code> <fi2area_value unit="m2">219</fi2area_value> <!--optional--> <fi2area_scheme> <fi2scheme_id>VA000_003_005</fi2scheme_id> <fi2scheme_name>Mättekniska areabegrepp</fi2scheme_name> <fi2scheme_url>http://www.fi2.se/valuelist/VA000_003_005.xml</fi2scheme_url> </fi2area_scheme> <fi2area_measuredby>Kalles Mätning AB</fi2area_measuredby> <fi2area_measureddate>2005-10-01</fi2area_measureddate> <fi2area_measuretype /> <fi2area_derivedfrom /> <fi2area_perimeter unit="m">0</fi2area_perimeter> </fi2space_area>
NAME sample
<fi2space_name lang="sv" usage="Default">785</fi2space_name>
DESCR sample
<fi2space_descr lang="sv" usage="Default">Parkeringsutrymme</fi2space_descr>
CONSTRYEAR sample
<fi2struct_constryear>2014-03-12T11:53:03.100</fi2struct_constryear>
ADDRESS sample
<fi2struct_address></fi2struct_address>
Possible Value Types
Value types will be used as an additional attribute in some complex output formats, like AREA.
In AREA the value type will be used for fi2area_code
Source value type
BRA
NTA
BTA
etc