斯潘8
span4
As part of the INSPIRE Directive*,EU countries are required to submit cadastral parcel** data in the INSPIRE specified format.至于FME 2014,读写都容易INSPIRE GML.本例演示了如何使用FME来处理地籍数据,并将其转换为启发性附录I地籍地块。在演示中,法国edigeo数据转换为符合inspire的GML,利用Inspire地籍地块XML模式(XSD)。The process outlined in the demo to write INSPIRE compliant GML can be applied to other INSPIRE themes.
在这个例子中,使用Edigo读卡器读取Edigo地籍数据。该演示利用市政府和地籍剖面数据进行地籍分区。以及启迪地籍地图的地块数据。
This is the typical extract,转换和加载(ETL)过程,用于从操作系统中提取数据,将其转换并加载到符合Inspire的GML中。在源数据上的实现会有所不同,并激发相关主题。
1。使用edigeo读卡器读取源edigeo地籍数据
法国国家地籍数据通常以edigeo格式存储。城市(公社)和地籍剖面数据(剖面地籍)用于地籍分区特征。而地块数据(Parcelle)用于地籍地形特征。地籍区划是划分国家领土的中间区域,地籍地块是最基本的面积单位。根据Inspire地籍地块数据规范。
2。根据Inspire应用程序架构的要求生成ID
创建国家ID和GML ID以满足Inspire地籍地块数据规范。The National ID is mapped to the nationalCadastralReference,a national thematic identifier.此外,根据作者的需要,在特征级别和几何级别自动生成GML ID。
3.增加必需字段
对于地籍包裹,a datetime attribute is created and populated,which later is mapped to beginLifespanVersion,空间对象插入或修改的日期和时间。地块面积是通过首先重新投影数据来计算的,then using an AreaCalculator.对于地籍分区,创建一个级别属性来存储每个功能的地籍分区级别。市政数据收到一阶值,while the cadastral section data receives a 2nd order value.
4.重新投射到官方坐标系
Inspire指令要求在ETRS89(EPSG:4258)中发布地籍地块,or for systems outside of ETRS89,in the ITRS reference system.As France is within ETRS89,地籍数据使用转发器重新投影到ETRS89。此外,as the French coordinate system RGF93 is based on ETRS89,there is no loss of accuracy from coordinate transformation.
5。模式映射
源属性映射到目标属性,以确保将正确的源属性发送到所需的目标属性。映射由inspire应用程序模式的必需字段指导。例如,属性复制器将源字段NationalZoningReference映射到目标字段NationalCadalZoningReference。
XML架构-属性名称映射
6。Geometry transformation through assembling required multi-geometry
第一,为每个几何图形设置名称。地籍分区有两个几何名称,“表面构件”用于内部几何结构,地籍剖面图,and ‘geometry' for the outer geometry,市政当局。Cadastral parcels also have two geometry names,‘geometry' and ‘referencePoint'.“几何体”名称用于地块几何体,while the ‘referencePoint' name is for the point geometry inside the parcel,for example the centroid of the cadastral parcel geometry.然后,使用聚合器组合几何体,以根据Inspire几何体要求创建多部分几何体。
7.INSPIRE GML Writing
使用Inspire GML编写器编写Inspire GML。在《启发GML》的作者中,under the User Attributes tab,note thexml_geometry数据类型。The xml_geometry fields dictate the geometry name required for geometries to be mapped correctly into the destination GML object.输出功能的根级几何名称必须与这些XML几何字段的名称相对应,否则几何图形将丢失。
Note that for nested geometries,只有根级别的几何图形名称作为XML_几何图形字段显示在FME目标特征类型输出模式上。要找出任何所需内部几何图形的名称,you need to examine a sample GML file,一个UML数据结构图,or the corresponding GML application schema.在这种情况下,cadastralParcels.xsd包含的元素定义
此外,notice the parent.child notation for nested object hierarchy,如InspireID.Identifier.LocalID。还要注意,当一个元素可以出现多次时,列表符号用于序列,例如,同一地名可以有多个拼写。
Inspire CasdastralParcel功能类型属性
In order to add an INSPIRE writer and destination feature types,您需要从适当的模式中导入目标特征类型定义。在这种情况下,用户定义的架构将不起作用。
Cadastral parcels GML read by the INSPIRE GML Reader in Data Inspector.Note the nested ID field structure and complex,多部分几何结构,‘geometry' and ‘referencePoint',按要求提供地籍包裹。
数据来源:G_n_rale des financial publiques-地籍;Updated: 2013
© 2019 亚搏在线Safe Software Inc |Legal