span8
斯潘4
作为激励指令的一部分*,欧盟国家需要以inspire指定格式提交地籍包**数据。As of FME 2014,it is easier to both read and write激发GML.This example demonstrates how FME can be used to manipulate cadastre data and transform it into INSPIRE Annex I cadastral parcels.在演示中,French EDIGEO*** data is transformed into INSPIRE compliant GML,利用Inspire地籍地块XML模式(XSD)。演示中概述的编写符合inspire的GML的过程可以应用于其他inspire主题。
在这个例子中,使用Edigo读卡器读取Edigo地籍数据。该演示利用市政府和地籍剖面数据进行地籍分区。以及启迪地籍地图的地块数据。
这是典型的提取物,转换和加载(ETL)过程,用于从操作系统中提取数据,将其转换并加载到符合Inspire的GML中。Implementation will vary on source data and INSPIRE theme involved.
1。使用edigeo读卡器读取源edigeo地籍数据
法国国家地籍数据通常以edigeo格式存储。城市(公社)和地籍剖面数据(剖面地籍)用于地籍分区特征。而地块数据(Parcelle)用于地籍地形特征。Cadastral zonings are intermediary areas used in the division of national territory while cadastral parcels are the most basic unit of area,根据Inspire地籍地块数据规范。
2.根据Inspire应用程序架构的要求生成ID
创建国家ID和GML ID以满足Inspire地籍地块数据规范。国家ID映射到国家地籍参考,国家主题标识符。Additionally,GML IDs are generated automatically at both the feature level and geometry level as needed by the writer.
三。Augment required fields
对于地籍包裹,创建并填充日期时间属性,稍后映射到beginlifespanversion,the spatial object insertion or modification date and time.地块面积是通过首先重新投影数据来计算的,然后使用面积计算器。对于地籍分区,a level attribute is created to store the level of cadastral zoning for each feature.The municipality data receives a 1st order value,地籍剖面数据接收二阶值。
4。重新投影到官方坐标系
The INSPIRE Directive requires that cadastral parcels be published in ETRS89 (EPSG:4258),或者对于ETRS89以外的系统,在ITRS参考系统中。由于法国在ETRS89内,地籍数据使用转发器重新投影到ETRS89。Additionally,由于法国坐标系RGF93基于ETRS89,坐标变换不会造成精度损失。
5。Schema mapping
源属性映射到目标属性,以确保将正确的源属性发送到所需的目标属性。Mapping is guided by required fields for the INSPIRE application schema.For example,the Attribute Copier maps source field nationalZoningReference to destination field nationalCadastralZoningReference.
XML架构-属性名称映射
6。通过装配所需的多几何体进行几何变换
First,the name is set for each geometry.Cadastral zoning has two geometry names,“表面构件”用于内部几何结构,the cadastral sections,和“几何”的外部几何,市政当局。地籍地块也有两个几何名称,“geometry”和“referencepoint”。The ‘geometry' name is for the parcel geometry,“referencepoint”名称用于地块内的点几何图形,例如,地籍地块几何图形的质心。Geometries are then combined using the Aggregator to create multi-part geometry as per INSPIRE geometry requirements.
7。启发GML写作
INSPIRE GML is written using the INSPIRE GML Writer.在《启发GML》的作者中,在“用户属性”选项卡下,注意XMLL几何数据类型。xml_geometry字段指定几何图形正确映射到目标GML对象所需的几何图形名称。输出功能的根级几何名称必须与这些XML几何字段的名称相对应,否则几何图形将丢失。
注意,对于嵌套几何图形,只有根级别的几何名称显示在FME目标特征类型输出模式中,作为XML_几何字段。To find out the names for any required inner geometries,你需要检查一个GML文件样本,a UML data structure diagram,或相应的GML应用程序模式。在这种情况下,cadastralParcels.xsd包含的元素定义
Additionally,注意嵌套对象层次结构的parent.child表示法,如InspireID.Identifier.LocalID。还要注意,当一个元素可以出现多次时,列表符号用于序列,for example there can be multiple spellings for the same place name.
Inspire CasdastralParcel功能类型属性
为了添加一个inspire writer和destination功能类型,you need to import the destination feature type definitions from the appropriate schemas.User defined schemas will not work in this case.
数据检查器中的Inspire GML Reader读取的地籍地块GML。注意嵌套的id字段结构和复杂性,multi-part geometry,“几何”和“参考点”,as required for INSPIRE cadastral parcels.
Data Source: Direction générale des Finances Publiques - Cadastre;更新:2013
?2019安全亚搏在线软件公司|合法的