Spatial Archive and Interchange Format (SAIF) Reader

空间存档和交换格式(赛义夫)features a powerful object-oriented data model described in an easy-to-use data definition language called Class Syntax Notation (CSN).

SAIF是不列颠哥伦比亚省地理数据的标准存档和交换格式。SAIF的开发是为了解决数据交换和数据归档问题。1SAIF数据集是独立的。单个SAIF数据集包含数据和描述数据的数据模型。As a result, SAIF is an excellent format for storing geographic data in a vendor-neutral manner. FME enables data stored in SAIF to be easily translated to any of the popular vendor formats.

历史事实:安全软件是如何命名的?亚搏在线

Safe软亚搏在线件成立时,这种格式起到了关键作用。由于“SAIF”的发音是“safe”,所以我们决定将safe软件的名称作为SAIF格式名称的一个玩法。

We applied for the domain name in 1993, when the Internet was in its infancy. It is "safe" to say that we would not be able to get this name today!

Overview

SAIF使用最新的数据建模范式。它采用了支持多重继承的面向对象数据模型。SAIF被设计成用户可扩展的,允许用户轻松地创建新的类定义。虽然设计时考虑了空间数据,但SAIF可以同样有效地用于任何类型的数据建模。

SAIF还支持其他任何其他格式中都找不到的高级数据建模概念。

  • Object Referencing:SAIF允许单个数据集中的对象引用组件对象。例如,如果线性要素的几何图形同时定义河岸和地块边界,则SAIF允许河流和地块边界引用同一线性要素。
  • Direct Support for Multimedia Datatypes:SAIF enables multimedia datatypes such as JPEG, Graphic Interchange Format (GIF), Sound Files, or any other type of file to be stored directly within a dataset. Attributes which describe the embedded information are also stored in the file.
  • 对象链接:SAIF允许SAIF数据集中的对象引用其他对象,并将属性与这些链接相关联。

SAIF数据集具有以下结构:

SAIF文件夹

SAIF数据集由可寻址对象的集合组成。每个可寻址对象都用存储在SAIF文件夹中的唯一标识符、对象的类信息和对象在数据集中的位置来标识。

与其他基于文件的数据存储格式不同,SAIF使用文件夹来支持数据的随机检索。例如,如果SAIF数据集包含道路,铁路,Rivers,等等,您可以快速检索道路objects from the dataset without having to read features of any other type. Each addressable object in SAIF is generally used to hold a collection of features of the same type. For example, one addressable object may hold all of the道路而另一个可寻址对象持有铁路,第三个可寻址对象包含Rivers.This organization of data fits well with that used by most Geographical Information Systems (GIS) products.

提示:提示:要读取SAIF数据集中的每个特性,可以省略IDs指令。

这个\u标识FME映射文件中的语句用于标识要从SAIF数据集检索的对象。

Upon opening a SAIF dataset, the SAIF reader logs the contents of the SAIF dataset to the FME log file.

SAIF模式

SAIF数据集的第二个主要组件是SAIF模式。SAIF模式包含SAIF数据集中存储的所有对象的类定义。数据集中的每个SAIF特征都由存储在数据集这一部分中的数据模型定义。类定义由类语法表示法(CSN)指定。CSN是一种易于阅读的表示法,专门用于在SAIF中定义类。看到了吗Spatial Archive and Interchange Format: Formal Specification Release 3.2关于赛义夫和CSN的完整描述。

SAIF Object Definitions

SAIF数据集的第三个也是最后一个组件包含特征数据。SAIF中的特征数据存储在对象语法表示法(objectsyntax Notation,OSN)中。OSN专门用于定义SAIF中的对象。看到了吗Spatial Archive and Interchange Format: Formal Specification Release 3.2for a complete description of SAIF and OSN.

对象定义被分解成更小的单元,称为object sets. 每个对象集包含一个对象集合。为了讨论的目的,我们假设addressable objectsand对象集,你可以互换使用。这两个概念之间的区别超出了本文件的范围。

有关SAIF数据集组织的更详细描述,请参阅SAIF工具包API程序员参考手册1.1版.

Reader Overview

这个SAIF reader module produces FME features from the features held in a SAIF dataset.

SAIF读取器首先打开SAIF数据集,检索坐标系和文件夹信息。SAIF阅读器从SAIF数据集中一次提取一个特征,并将它们传递给FME的其余部分。

每个要素的坐标系都标记有从SAIF文件读取的坐标系。