span8
span4
Currently the Danish Geo Data Agency is providing an experimental ATOM web service which gives links to pre-defined INSPIRE GML file downloads.You can examine this web service by clicking on the link to the RoadTransportNetwork layer:http://download.kortforsyningen.dk/sites/default/files/feeds/RoadLink.xml
您可以看到,在这个Atom feed中,有指向按照每个市的代码或“Kommune Kode”编号的inspire兼容GML的预定义zip文件的链接,例如:
ftp://ftp.kortforsyningen.dk/atomfeeds/INSPIRE/GML/UTM32-EUREF89/151_RoadLink.gml.gz
注释: You will need to create your own data download account with Geodatastyrelse to actually download the zip files in the example below:
http://download.kortforsyningen.dk/feeds
The data is provided free of charge thanks to the Danish Geo Data Agency (Geodatastyrelsen).
With the attached workspace (see link above) you can download the INSPIRE data from the Danish INSPIRE download service and translate the data into any format you like.在我们浏览工作区时,请按照书签操作:
1。The workspace includes 4 published parameters as shown below.The GeoRSS URL is the end point for the RoadTransportNetwork layer ATOM feed.
You will need to create your own user account if you want to run this workspace by going to the Danish Geo Data Agency website here:http://download.kortforsyningen.dk/feeds
2.The workspace reads the web service at the root level and includes feature types for the Feed and the Entries.
The Feeds feature type is metadata for the service and is disabled in the workspace.The Entries feature type will read one feature for each municipality in Denmark and will include an attribute with the ftp link to the data in the attribute林库里。ATesteris used so that we only process the entry for the municipality code entered in the published parameter.
3.Although we have the FTP link to the data we need to insert the user name and password into the URI and this is done with a few transformers in the third bookmark.
4。The HTTPFetcher transformer downloads this zip file and places it in the same directory as the workspace with the name邮递员。Note:If all you need is the GML version of the file you can stop here.
5.TheFeatureReadertransformer is used to read the GML we downloaded directly from the zip file and into FME so we can take further steps such as schema mapping or writing the data out into any other format.
6。You can modify the schema to suit your needs using transformers such as transformers such as the AttributeRenamer,属性桥墩,属性keeper。In this example we simply renamed a couple of attributes and removed the rest.
7.You can add any FME writer you like to the workspace for the output - in this example we have used a Shape writer.
© 2019 亚搏在线Safe Software Inc |Legal