span8
span4
span8
span4
ATOM feeds are a useful way to share frequently updated content;users can subscribe to a feed and automatically have access to the most up-to-date data.INSPIRE* data download requirements can be met using ATOM feeds,and a number of organizations are doing so.
FME'sGeoRSS/RSS Feed Reader and Writersupports RSS and ATOM,enabling users to read and write ATOM feeds.In this demo,two workspaces are used in combination with FME Server to create an ATOM feed:
1) One workspace creates the ATOM feed and should be published with the Data Streaming service to FME Server.When this workspace is run via,it streams back the RSS/ATOM feed which includes links to downloadable INSPIRE data layers.
2) If a user selects a download link for an INSPIRE data layer from the ATOM service,this triggers the second workspace to run and return the XML via the Data Streaming service.
Note: when the ATOM feed workspace is run via the Data Streaming service,links to download data are displayed.If you view the data in Firefox or Internet Explorer ATOM feeds are automatically rendered.Google Chrome does not automatically render ATOM feeds but there are browser extensions available to do this.
In order to complete this exercise you will also need to download the WMS INSPIRE data coveringWestminsterandBrentLondon Boroughs.
Publish ManagementRestrictionOrRegulationZone.fmw workspace
Edit Private Parameter values from the Navigation Window
Obtain a token and note its expiry date
http://: /fmedatastreaming/INSPIRE/INSPIREAtomFeed.fmw?
Accessing the URL for the ATOM feed service
By default authentication is required to run the workspace and stream the ATOM feed via the Direct URL.This link can be made publicly available without the need for authentication by configuring the security settings of the INSPIRE repository to be open to the fmeguest account.
1.In FME Server,click on Roles under Administration > Security in the menu on the left.
Location of Security in Menu bar
2.Select the fmeguest role
3.Under Repositories give Read / Run permissions to the INSPIRE folder.Also ensure that under Services,Data Streaming is allowed.
fmeguest Role Policies to enable access to the service
Click on the URL or Paste it into a new Internet Explorer browser,to see the ATOM feed as shown below.Click on the link to download a zip file containing the associated INSPIRE GML.
The INSPIRE ATOM feed viewed with Internet Explorer
* INSPIRE,or Infrastructure for Spatial Information in Europe,is a European Union directive that aims to create a spatial data infrastructure of EU data.Open standards such as OGC web services are used to facilitate the exchange of INSPIRE data.For more information please visit theINSPIRE website.
If you have any questions or require assistance,pleasecontact support.
Data used in this tutorial originates from data made available byINSPIRE.It contains informationlicensed under theCreative Commons Attribution (cc-by) 4.0and theINSPIRE End User Licence.
© 2019 亚搏在线Safe Software Inc |Legal