GeoRSS Feed

From fmepedia


This page contains an example FME Workspace created by an fmepedia user.
  See the attached files list at the foot of this page for the zip file containing this workspace.  



Created by: Mark Ireland


This workspace takes a set of data - in this case a list of FME training courses for 2007 - and writes it to an XML file to be used as a GeoRSS feed. Such feeds can then be used as part of Web 2.0 mashups, such as this one (http://mapufacture.com/georss/map/show/1019) (nb - this map is showing live data updated from the main page of fmepedia)


An RSS (http://en.wikipedia.org/wiki/RSS_%28file_format%29) feed is a method to publish frequently updated digital content; a GeoRSS feed takes the concept a step further by adding a geographical location to the content.



Above: Part of the GeoRSS dataset read back into the FME Viewer (with a world map added for reference)



Above: Workspace that generates GeoRSS; not as complicated as it looks, most of the transformers are simple attribute creators.


Notes

  • Date Formats: After a bit of experimenting I find that date formats are tricky to get right, and furthermore the date format varies depending on whether you are using Simple or W3C geometry. However, if you leave them blank then FME will fill them in with a correctly formatted date/time.
  • ID/GUID: I'm not sure what these are supposed to represent but, again, if you leave them blank FME will fill them in with acceptable values.
  • Author: For most types of RSS this appears to require an email address to be correctly validated.
  • Validating Feeds: To validate the content of a feed try feedvalidator.org - it's an excellent site and has a useful user group/list.
Attached Files
filesizedate
georss.zip111.6 kB01/09/07
georss1.jpg96.1 kB01/09/07
georss2.jpg29.4 kB01/09/07
index.php------
User Comments Add a new comment