I realized today that I have customers and friends in the track of Hurricane Ike.
View Larger MapSo I was thinking... what would it take to view hurricane track information in Smallworld?
Here is what I came up with...
- Figure out which Smallworld SOMs (Spatial Object Managers) you have licensed.
- Create a FME workspace that reads hurricane data from a provider (eg., Google has http://mw1.google.com/mw-weather/tropical/kml/all_hurricanes.kmz) and converts it into a format that your SOMs are licensed for. You can download the workspace file here (right-click and Save As... the link)
- Create a .bat file that calls your FME workspace and can be scheduled using a task scheduler.
fme.exe %~dp0Hurricane_KML2MapInfoTab.fmw --SourceDataset_KML21 http://mw1.google.com/mw-weather/tropical/kml/all_hurricanes.kmz --DestDataset_MITAB %~dp0
- Create Smallworld SOM configuration that reads the regularly-updated SOM data.
- Create Smallworld ACE and Style changes that render the storm data on Smallworld.
I have tried this preliminarily with MapInfo and it seems to work. What is not clear to me yet is if the MapInfo SOM will refresh the data on Smallworld each time the underlying MapInfo data is refreshed. Anyone interested in trying this?
[UPDATE: It seems that once a MapInfo SOM is connected to a MapInfo file, then that file is locked for other processes. Ie., FME won't be able to update it. So that is likely not a very good idea. We could use the WMS SOM but then we would need to set up a WMS server. You can definitely do that with FME Server but I am willing to bet that most Smallworld customers do not have FME Server set up yet. Maybe another option would be to modify the FME Workspace to write out to a text (or XML) file that could then be read by a Smallworld post-render-set plugin that would then dynamically draw the storm track information each time the map is refreshed.]
Anyone doing something else with tracking storms in Smallworld?
Stay safe and dry.