Skip to main content
Hi all,

 

 

I haven't worked with XML in FME much so forgive me if this is a simple question. I have a GeoRSS feed that I would like to bring into FME, manipulate it then output into SQL Server 2008.

 

 

The main aim is to get data from our state fire authority website overlayed in my organisation's enterprise GIS as this information is of particular interest duing the high fire danger period that we are currently in.

 

 

I can't figure out how to manipulate the GeoRSS feed so that it can be processed using the XMLFlattener transformer (assuming this is the best way to extract the information in the feed).

 

 

The GeoRSS feed is: http://osom.cfa.vic.gov.au/public/osom/IN_COMING.rss

 

 

Any help or hints would be appreciated.

 

 

Cheers,

 

Bazza
Hi Bazza,

 

 

I would recommend using an XML reader, pointing to the URL.

 

In the readers parameters, specify the elements to match (item, channel, description, etc).

 

Then use an AttributeSplitter on the item element, attribute to split = collection.point, followed by a 2DPointReplacer with _list{0} and _list{1} as coords.

 

 

For some reason the GeometryReplacer is not able to parse the coord list correctly, therefore the  AttributeSplitter + 2DPointReplacer approach.

 

 

http://www.youtube.com/watch?v=C2QExC3DZQ0

 

 

Hope this helps,

 

Itay
Fantastic Itay, in just a couple of minutes i've made more progress than all of yesterday!

 

 

Thanks for your help,

 

Bazza

Reply