span8
span4
span8
span4
As part of the INSPIRE Directive*, EU countries are required to submit cadastral parcel** data in the INSPIRE specified format. As of FME 2014, it is easier to both read and writeINSPIRE GML。This example demonstrates how FME can be used to manipulate cadastre data and transform it into INSPIRE Annex I cadastral parcels. In the demo, French EDIGEO*** data is transformed into INSPIRE compliant GML, utilizing the INSPIRE Cadastral Parcels XML schema (XSD). The process outlined in the demo to write INSPIRE compliant GML can be applied to other INSPIRE themes.
In this example, EDIGEO cadastre data is read using the EDIGEO Reader. The demo utilizes municipality and cadastral section data for INSPIRE CadastralZoning, and parcel data for INSPIRE CadastralParcels.
This is the typical extract, transform and load (ETL) process for extracting data from operational systems, transforming it and loading it into INSPIRE compliant GML. Implementation will vary on source data and INSPIRE theme involved.
1.Read source EDIGEO cadastre data using the EDIGEO Reader
National French cadastre data is often stored in EDIGEO format. Municipality (commune) and cadastral section data (section cadastrale) is used for CadastralZoning features, while parcel data (parcelle) is used for CadastralParcel features. Cadastral zonings are intermediary areas used in the division of national territory while cadastral parcels are the most basic unit of area, according to the INSPIRE cadastral parcels data specifications.
2.Generate IDs as required by the INSPIRE application schema
创建国家ID和GML ID,以满足激发的地籍宗地数据规范。国家ID被映射到NationalCastralReference,一个国家专题标识符。此外,GML ID将根据作者所需的特征级别和几何级别自动生成。
3.增强必填字段
For cadastral parcels, a datetime attribute is created and populated, which later is mapped to beginLifespanVersion, the spatial object insertion or modification date and time. Parcel area is calculated by first reprojecting the data, then using an AreaCalculator. For cadastral zoning, a level attribute is created to store the level of cadastral zoning for each feature. The municipality data receives a 1st order value, while the cadastral section data receives a 2nd order value.
4.Reproject to the official coordinate system
激励指令要求在ITRS参考系统中,在ETRS89(EPSG:4258)中或在ETRS89之外的系统出版,或用于ETRS89之外的系统。由于法国在ETRS89中,Cadastre数据使用Repropler恢复了ETRS89。此外,由于法国坐标系RGF93基于ETRS89,因此没有从坐标转换中的精度损失。
5.Schema mapping
源属性映射到目标属性,以确保正确的源属性被发送到所需的目标属性。映射由Inspire Application Schema的必填字段引导。例如,属性复印机映射到目标字段NationalCadastralZoningReference的源字段NationalZooningReference。
XML Schema - Attribute name mapping
6.Geometry transformation through assembling required multi-geometry
First, the name is set for each geometry. Cadastral zoning has two geometry names, ‘surfaceMember’ for the inner geometry, the cadastral sections, and ‘geometry’ for the outer geometry, the municipality. Cadastral parcels also have two geometry names, ‘geometry’ and ‘referencePoint’. The ‘geometry’ name is for the parcel geometry, while the ‘referencePoint’ name is for the point geometry inside the parcel, for example the centroid of the cadastral parcel geometry. Geometries are then combined using the Aggregator to create multi-part geometry as per INSPIRE geometry requirements.
7.INSPIRE GML Writing
INSPIRE GML is written using the INSPIRE GML Writer. In the INSPIRE GML Writer, under the User Attributes tab, note thexml_geometrydata type. The xml_geometry fields dictate the geometry name required for geometries to be mapped correctly into the destination GML object. The output feature’s root level geometry names must correspond to the names of these xml_geometry fields, or the geometries will be dropped.
Note that for nested geometries, only the root level geometry name shows up on the FME destination feature type output schema as an xml_geometry field. To find out the names for any required inner geometries, you need to examine a sample GML file, a UML data structure diagram, or the corresponding GML application schema. In this case the CadastralParcels.xsd contains an element definition for
Additionally, notice the parent.child notation for nested object hierarchy, such as inspireId.Identifier.localId. Also note that the list{} notation is used for series when an element can occur more than once, for example there can be multiple spellings for the same place name.
INSPIRE CasdastralParcel Feature Type Properties
要添加激发器和目标功能类型,您需要从相应的模式导入目标要素类型定义。用户定义的架构在这种情况下不起作用。
Cadastral Parcels GML由Data Inspector中的Inspire GML阅读器读取。请注意嵌套ID字段结构和复杂的多件几何,“几何”和“参考点”,因为激发肉地块的需要。
Data Source: Direction générale des Finances Publiques - Cadastre; Updated: 2013
嘿,谢谢你的一个很棒的帖子。我似乎似乎如何在如何自动基于定义的区域(多边形或角坐标)自动下载以自动下载,然后将其进一步转换为DWG / SHP。
任何人都有了一个好的那工作区启动并运行t or some tips for me in the right direction?
Working with this one here:
http://geodata.nationaalgeoregister.nl/plu/atom/plu.xml
嗨@hlynur。FME’sGeoRSS/RSS Feed Reader and Writersupports RSS and ATOM, enabling users to read and write ATOM feeds.
Reading from RSS Feed:
https://knowledge.亚搏在线safe.com/articles/44293/json-writing-overview.html.
https://knowledge.safe.com/articles/602/reading-and-writing-georss-and-rss-feeds.html
在您的数据中阅读后,您可以继续将其转换为DWG / SHP的工作区
如果您想创建服务:
https://knowledge.safe.com/articles/1062/rss-feed-of-fme-server-data-download-layers.html
https://knowledge.safe.com/articles/1340/create-inspire-atom-download-service.html
© 2019 Safe Software Inc |Legal