<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Random Nodes &#187; Utilities</title>
	<atom:link href="http://www.jasonbirch.com/nodes/category/utilities/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jasonbirch.com/nodes</link>
	<description>...Jason Birch's geospatial ramblings</description>
	<lastBuildDate>Wed, 01 Sep 2010 05:14:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Now we&#8217;re cooking! MgCooker for MapGuide Tile Seeding</title>
		<link>http://www.jasonbirch.com/nodes/2009/02/19/284/now-were-cooking-mgcooker-for-mapguide-tile-seeding/</link>
		<comments>http://www.jasonbirch.com/nodes/2009/02/19/284/now-were-cooking-mgcooker-for-mapguide-tile-seeding/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 05:57:09 +0000</pubDate>
		<dc:creator>Jason Birch</dc:creator>
				<category><![CDATA[MapGuide]]></category>
		<category><![CDATA[OSGeo]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[MapGuide Maestro]]></category>
		<category><![CDATA[MgCooker]]></category>
		<category><![CDATA[Tile]]></category>

		<guid isPermaLink="false">http://www.jasonbirch.com/nodes/2009/02/19/284/now-were-cooking-mgcooker-for-mapguide-tile-seeding/</guid>
		<description><![CDATA[The latest preview release of MapGuide Maestro comes with a nice little surprise:  a tool for pre-seeding tile caches. [more...]]]></description>
			<content:encoded><![CDATA[<p>The latest preview release of <a title="MapGuide Maestro .net authoring tool" href="http://trac.osgeo.org/mapguide/wiki/maestro">MapGuide Maestro</a> (r3620 currently) comes with a nice little surprise:&#160; a tool for pre-seeding tile caches.&#160; MgCooker can be run from the command line (more on this later), or through the Maestro GUI.&#160; It couldn&#8217;t be simpler.&#160; Open up a Map Definition that has a Base Layer Group, highlight the group that you want to cook, and click on the MgCooker icon:</p>
<p><img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="213" alt="image" src="https://www.jasonbirch.com/nodes/wp-content/uploads/2009/02/image2.png" width="502" border="0" /> </p>
<p>In the following dialog, either leave the default of all checked, or choose to only pre-render certain zoom levels of your data, the choice is yours (probably best to start with the smallest scale &#8211; in this case 100,000):</p>
<p><a href="https://www.jasonbirch.com/nodes/wp-content/uploads/2009/02/image3.png"><img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="244" alt="image" src="https://www.jasonbirch.com/nodes/wp-content/uploads/2009/02/image-thumb.png" width="413" border="0" /></a> </p>
</p>
<p>Then click &quot;Build tiles now&quot; and sit back and watch the tiles cook:</p>
<p><a href="https://www.jasonbirch.com/nodes/wp-content/uploads/2009/02/image4.png"><img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="202" alt="image" src="https://www.jasonbirch.com/nodes/wp-content/uploads/2009/02/image-thumb1.png" width="502" border="0" /></a> </p>
<p>Of course, this isn&#8217;t practical for a production environment where you would want to batch this operation.&#160; That&#8217;s where the second option comes in; clicking on &quot;Save as script&quot; generates a Windows batch file similar to the following that you can script to your heart&#8217;s desire:</p>
<div style="border-right: gray 1px solid; padding-right: 4px; border-top: gray 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: gray 1px solid; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: gray 1px solid; font-family: consolas, &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">&quot;C:Program FilesOSGeoMapGuide MaestroMgCookerCommandline.exe&quot; batch
   --mapdefinitions=&quot;Library://Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition&quot;
   --basegroups=&quot;Base Layer Group&quot;
   --scaleindex=7
   --mapagent=&quot;http://localhost:8008/mapguide/mapagent/mapagent.fcgi&quot;</pre>
</div>
<p>I have no idea if the MgCookerCommandLine.exe works under Mono, but given that the rest of Maestro seems to work fairly well there I would not be surprised.</p>
<p>Great job Kenneth; this is something we have been sorely missing since <a title="MapGuide Open Source" href="http://mapguide.osgeo.org/">MapGuide</a> 1.2, and it&#8217;s great to see it as part of Maestro!</p>
<p>-J</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonbirch.com/nodes/2009/02/19/284/now-were-cooking-mgcooker-for-mapguide-tile-seeding/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Data Warehousing Goodness with FDO Toolbox (sorta)</title>
		<link>http://www.jasonbirch.com/nodes/2008/08/07/195/data-warehousing-goodness-with-fdo-toolbox-sorta/</link>
		<comments>http://www.jasonbirch.com/nodes/2008/08/07/195/data-warehousing-goodness-with-fdo-toolbox-sorta/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 04:21:19 +0000</pubDate>
		<dc:creator>Jason Birch</dc:creator>
				<category><![CDATA[Data Transformation]]></category>
		<category><![CDATA[FDO]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[FDO Toolbox]]></category>

		<guid isPermaLink="false">http://www.jasonbirch.com/nodes/?p=195</guid>
		<description><![CDATA[Ok, not real data warehousing (no star schema here) but anyone who has dealt with performance issues in MapGuide due to on-the-fly joins across heterogeneous data sources knows the value of loading read-only data sets into static SDF (or SQLite!) files for rapid display. With release 0.50 of FDO Toolbox, Jackie has done it again [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, not real data warehousing (no star schema here) but anyone who has dealt with performance issues in MapGuide due to on-the-fly joins across heterogeneous data sources knows the value of loading read-only data sets into static SDF (or <a href="http://www.jasonbirch.com/nodes/2008/05/06/184/sqlite-for-fdo-with-sugar-free-ogr/">SQLite!</a>) files for rapid display.</p>
<p>With <a href="http://themapguyde.blogspot.com/2008/08/fdo-toolbox-v050.html">release 0.50 of FDO Toolbox</a>, Jackie has done it again by allowing users to quickly take data from both spatial (FDO) data sources, and non-spatial (OLEDB) data sources, join them together, and write out performance-optimized files.  This is a huge boon for folks that need to do this and can&#8217;t afford best-of-breed proprietary tools like <a href="http://www.safe.com/">Safe Software&#8217;s FME</a>.</p>
<p>Jackie has really impressed me with the rapid development of this tool as well as his focus on providing value in three distinct areas.  First, FDO Toolbox has a great GUI for FDO data transfer and administration.  Second, the command line capabilities allow you to set up scheduled translations to keep your SDF files in sync with your corporate data stores.  Finally, FDO Toolbox has a minimal profile and can easily be used by install scripts that need to load data, register FDO providers, and other tasks during an automated application installation.</p>
<p>What&#8217;s next on the horizon?  Jackie&#8217;s <a href="http://themapguyde.blogspot.com/2008/08/and-now-for-something-completely.html">recent post on an FDO plug-in</a> for <a href="http://www.codeplex.com/SharpMap">SharpMap</a> provides a hint&#8230; spatial data inspection coming soon to FDO Toolbox!  Now if there was only a way of plugging FDO Toolbox into <a href="http://trac.osgeo.org/mapguide/wiki/maestro">MapGuide Maestro</a> to transform data and either create packages or load data directly into MapGuide. ;)</p>
<p>-J</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonbirch.com/nodes/2008/08/07/195/data-warehousing-goodness-with-fdo-toolbox-sorta/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FDO Toolbox (Speaking of Rapid Development)</title>
		<link>http://www.jasonbirch.com/nodes/2008/07/28/190/fdo-toolbox-speaking-of-rapid-development/</link>
		<comments>http://www.jasonbirch.com/nodes/2008/07/28/190/fdo-toolbox-speaking-of-rapid-development/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 06:44:24 +0000</pubDate>
		<dc:creator>Jason Birch</dc:creator>
				<category><![CDATA[FDO]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.jasonbirch.com/nodes/?p=190</guid>
		<description><![CDATA[According to the author, &#8220;FDO Toolbox is a windows application to process, create and manage geospatial data&#8221;. Similar in purpose to SL-King&#8217;s FDO2FDO application (which hasn&#8217;t quite made it out into open source yet), FDO Toolbox takes a different tack in design and in development process. I first heard about FDO Toolbox when I got [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nabble.com/FDO-Toolbox-p18591135.html">According to the author</a>, &#8220;FDO Toolbox is a windows application to process, create and manage geospatial data&#8221;.  Similar in purpose to SL-King&#8217;s <a href="http://www.sl-king.com/Fdo2Fdo/download/download.html">FDO2FDO</a> application (which hasn&#8217;t quite made it out into open source yet), FDO Toolbox takes a different tack in design and in development process.</p>
<p>I first heard about FDO Toolbox when I got a Google Alert about Jackie Ng&#8217;s initial <a href="http://themapguyde.blogspot.com/2008/07/fdo-toolbox.html">blog post</a> back on July 9th.  Since that time, <a href="http://themapguyde.blogspot.com/2008/07/fdo-toolbox-v03.html">Jackie</a> <a href="http://themapguyde.blogspot.com/2008/07/fdotoolbox-031.html">has</a> <a href="http://themapguyde.blogspot.com/2008/07/fdotoolbox-032.html">posted</a> <a href="http://themapguyde.blogspot.com/2008/07/fdo-toolbox-v033.html">seven</a> <a href="http://themapguyde.blogspot.com/2008/07/fdo-toolbox-v034.html">new</a> <a href="http://themapguyde.blogspot.com/2008/07/fdo-toolbox-v035.html">point</a> <a href="http://themapguyde.blogspot.com/2008/07/fdo-toolbox-v04.html">releases</a>.  <strong>That&#8217;s seven releases in <del datetime="2008-07-29T14:40:10+00:00">eleven</del> nineteen days, people!</strong>.</p>
<p>Obviously, this insane development pace can&#8217;t continue forever, but up until now Jackie has been working furiously with a good number of fixes and new features in each release.  Many of the enhancements and modifications have come from external suggestions, so if you try it out and find that it&#8217;s missing something or think it could be doing something better, don&#8217;t hesitate to <a href="http://code.google.com/p/fdotoolbox/issues/list">make a suggestion</a>.</p>
<p>-J</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonbirch.com/nodes/2008/07/28/190/fdo-toolbox-speaking-of-rapid-development/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MapGuide Maestro (a brief introduction)</title>
		<link>http://www.jasonbirch.com/nodes/2008/07/28/189/mapguide-maestro-a-brief-introduction/</link>
		<comments>http://www.jasonbirch.com/nodes/2008/07/28/189/mapguide-maestro-a-brief-introduction/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 06:23:11 +0000</pubDate>
		<dc:creator>Jason Birch</dc:creator>
				<category><![CDATA[MapGuide]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[MapGuide Maestro]]></category>

		<guid isPermaLink="false">http://www.jasonbirch.com/nodes/?p=189</guid>
		<description><![CDATA[For a large part of MapGuide Open Source&#8217;s history, you could only author maps using either Autodesk&#8217;s MapGuide Studio, which is a great and relatively inexpensive tool but not open source, or Web Studio which was never finished to the point that it could be used to build a MapGuide application from scratch. In September [...]]]></description>
			<content:encoded><![CDATA[<p>For a large part of MapGuide Open Source&#8217;s history, you could only author maps using either Autodesk&#8217;s MapGuide Studio, which is a great and relatively inexpensive tool but not open source, or Web Studio which was never finished to the point that it could be used to build a MapGuide application from scratch.</p>
<p>In September of last year, Kenneth Skovhede changed this with the introduction of Map Studio Open Source.  This application, built using C# and supported under .Net and Mono, was immediately more functional that Web Studio.</p>
<p>Fast forward seven months.  Having built considerable support and functionality in a short amount of time, Map Studio Open Source was clearly a viable project and was providing benefit to the MapGuide Open Source community.  After some discussions between Kenneth and the MapGuide project steering committee, an <a href="http://trac.osgeo.org/mapguide/wiki/MapGuideRfc48">RFC</a> was created to bring Map Studio Open Source officially into the MapGuide fold. This included a change of name to <a href="http://trac.osgeo.org/mapguide/wiki/maestro">MapGuide Maestro</a> and a move from Google Code to MapGuide&#8217;s <a href="http://www.osgeo.org/">OSGeo</a>-hosted <a href="http://trac.osgeo.org/mapguide/wiki/maestro">wiki</a>, <a href="http://trac.osgeo.org/mapguide/query?status=new&#038;status=assigned&#038;status=reopened&#038;group=priority&#038;component=Maestro&#038;order=id">bug tracking</a>, <a href="http://svn.osgeo.org/mapguide/trunk/Tools/Maestro/">source control</a>, and <a href="http://download.osgeo.org/mapguide/maestro/">download services</a>.</p>
<p>If you&#8217;re interested in seeing what it looks like, there are some <a href="http://trac.osgeo.org/mapguide/wiki/maestro/Screenshots">screen shots</a> on the MapGuide wiki&#8230; but beware; this project is under rapid development (release early and often) and some of the images are already out of date :)  </p>
<p>My advice?  Don&#8217;t even look at the screenshots, just <a href="http://trac.osgeo.org/mapguide/wiki/maestro/Downloads">download</a> Maestro and start using it.  Even if you have the full Autodesk MapGuide Studio application, there are some things that Maestro does far better, like retaining inter-resource references when moving things in your repository, or defining raster configuration files for unmanaged image resources.  And if you run into problems, make sure to <a href="http://trac.osgeo.org/mapguide/wiki/SubmitTicket">report them</a> so that they can be fixed quickly (and they probably will be).</p>
<p>-J</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonbirch.com/nodes/2008/07/28/189/mapguide-maestro-a-brief-introduction/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Listing MapGuide Data File Locations</title>
		<link>http://www.jasonbirch.com/nodes/2007/11/17/145/listing-mapguide-data-file-locations/</link>
		<comments>http://www.jasonbirch.com/nodes/2007/11/17/145/listing-mapguide-data-file-locations/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 08:51:52 +0000</pubDate>
		<dc:creator>Jason Birch</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[MapGuide]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[Example]]></category>
		<category><![CDATA[Utility]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.jasonbirch.com/nodes/2007/11/17/145/listing-mapguide-data-file-locations/</guid>
		<description><![CDATA[Over on the MapGuide Users mailing list, Zac said: &#34;it would be nice to add a text file listing the unmanaged resources&#34; Happy to oblige! :) OK, not quite, but I&#8217;ve created a simple command-line PHP script that talks to the MapGuide repository and outputs a CSV containing the ResourceID and File Path for all [...]]]></description>
			<content:encoded><![CDATA[<p>Over on the MapGuide Users mailing list, <a href="http://lists.osgeo.org/pipermail/mapguide-users/2007-November/010084.html">Zac said</a>:  &quot;it would be nice to add a text file listing the unmanaged resources&quot;</p>
<p>Happy to oblige! :)  </p>
<p>OK, not quite, but I&#8217;ve created a simple command-line PHP script that talks to the MapGuide repository and outputs a CSV containing the ResourceID and File Path for all data sources that I&#8217;ve recognised as file-based.  I&#8217;ll leave it as an exercise for the reader to filter this to only show unmanaged data sources.</p>
<ul>
<li><a href="http://www.jasonbirch.com/files/cli_listfiles.phps">View Syntax-highlighted PHP</a></li>
<li><a href="http://www.jasonbirch.com/files/cli_listfiles.zip">Download Zipfile</a></li>
</ul>
<p>Sample output:</p>
<blockquote><p>
C:\MgTest\listpaths>php cli_listfiles.php admin</p>
<p>&#8220;Library://Test/Data/MyImages.FeatureSource&#8221;,&#8221;C:\TestData\img_ecw&#8221;<br />
&#8220;Library://Test/Data/MyImages2.FeatureSource&#8221;,&#8221;C:\TestData\img_ecw&#8221;<br />
&#8220;Library://Test/Data/MyImages3.FeatureSource&#8221;,&#8221;C:\TestData\img_sid&#8221;<br />
&#8220;Library://Test/Data/ABC123.FeatureSource&#8221;,&#8221;C:\TestData\img_ecw\&#8221;<br />
&#8220;Library://Test/Data/MyImages4.FeatureSource&#8221;,&#8221;C:\TestData\img_sid\&#8221;<br />
&#8220;Library://ImageTest/Data/ImageTest.FeatureSource&#8221;,&#8221;C:\ImageTest&#8221;<br />
&#8220;Library://ImageTest/Data/Tiled.FeatureSource&#8221;,&#8221;C:\ImageTest\&#8221;<br />
&#8220;Library://SdfTest/Data/bc_border.FeatureSource&#8221;,&#8221;%MG_DATA_FILE_PATH%&#8221;</p>
</blockquote>
<p>I think this shows how easy it is to throw around the XML that MapGuide uses in its repositories.</p>
<p>-J</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonbirch.com/nodes/2007/11/17/145/listing-mapguide-data-file-locations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FeatureServer Rules The Universe!</title>
		<link>http://www.jasonbirch.com/nodes/2007/05/24/88/featureserver-rules-the-universe/</link>
		<comments>http://www.jasonbirch.com/nodes/2007/05/24/88/featureserver-rules-the-universe/#comments</comments>
		<pubDate>Fri, 25 May 2007 03:00:48 +0000</pubDate>
		<dc:creator>Jason Birch</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.jasonbirch.com/nodes/2007/05/24/88/featureserver-rules-the-universe/</guid>
		<description><![CDATA[OK, not quite, but MetaCarta&#8217;s decision to release FeatureServer as open source makes me extremely happy. Between OpenLayers (an OSGeo incubating project), TileCache, and FeatureServer, MetaCarta deserves a lot of credit for its innovative contributions to the open source geospatial community. I only have two thoughts: This is a real boost for a RESTful GeoWeb [...]]]></description>
			<content:encoded><![CDATA[<p>OK, not quite, but MetaCarta&#8217;s decision to <a href="http://labs.metacarta.com/blog/16.entry">release FeatureServer as open source</a> makes me extremely happy.</p>
<p>Between <a href="http://openlayers.org/">OpenLayers</a> (an <a href="http://www.osgeo.org/">OSGeo</a> incubating project), <a href="http://tilecache.org/">TileCache</a>,  and <a href="http://featureserver.org/">FeatureServer</a>, MetaCarta deserves a lot of credit for its innovative contributions to the open source geospatial community.  I only have two thoughts:</p>
<ul>
<li>This is a real boost for a RESTful GeoWeb</li>
<li>I wonder how long it will be before MetaCarta gets acquired</li>
</ul>
<p>Taking into consideration tile caching, RESTful interfaces, and growing consensus on <a href="http://wiki.geojson.org/RFC-2">RFC-2 for GeoJSON</a>, I see some real momentum for a geospatial web that actually scales.</p>
<p>Update:  I missed <a href="http://crschmidt.net/blog/archives/216/featureserver-release/">crschmidt&#8217;s post</a> about this.  Sounds like a proud parent :)</p>
<p>-J</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonbirch.com/nodes/2007/05/24/88/featureserver-rules-the-universe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fdo2fdo Geospatial Data Tool</title>
		<link>http://www.jasonbirch.com/nodes/2007/03/15/69/fdo2fdo-geospatial-data-tool/</link>
		<comments>http://www.jasonbirch.com/nodes/2007/03/15/69/fdo2fdo-geospatial-data-tool/#comments</comments>
		<pubDate>Thu, 15 Mar 2007 07:21:22 +0000</pubDate>
		<dc:creator>Jason Birch</dc:creator>
				<category><![CDATA[FDO]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.jasonbirch.com/nodes/2007/03/15/69/fdo2fdo-geospatial-data-tool/</guid>
		<description><![CDATA[Today, Haris Kurtagic over at <a href="http://www.sl-king.com/">SL-King</a> <a href="http://lists.osgeo.org/pipermail/fdo-users/2007-March/000109.html">announced</a> the latest release of his cool <a href="http://www.sl-king.com/Fdo2Fdo/fdo2fdo.html">fdo2fdo</a> utility.

This application hasn't got much attention yet, but it sure deserves some.  Initially used as a test platform for Haris' open source <a href="http://www.sl-king.com/fdooracle/fdooracle.html">King.Oracle FDO provider</a>, it has quickly evolved into [...]
]]></description>
			<content:encoded><![CDATA[<p>Today, Haris Kurtagic over at <a href="http://www.sl-king.com/">SL-King</a> <a href="http://lists.osgeo.org/pipermail/fdo-users/2007-March/000109.html">announced</a> the latest release of his cool <a href="http://www.sl-king.com/Fdo2Fdo/fdo2fdo.html">fdo2fdo</a> utility.</p>
<p>This application hasn&#8217;t got much attention yet, but it sure deserves some.  Initially used as a test platform for Haris&#8217; open source <a href="http://www.sl-king.com/fdooracle/fdooracle.html">King.Oracle FDO provider</a>, it has quickly evolved into a general purpose FDO data transfer and inspection toolkit.</p>
<p><img id="image68" alt="FDO2FDO Express Copy Example" src="http://www.jasonbirch.com/nodes/wp-content/uploads/2007/03/fdo2fdo.png" /></p>
<p>Haris does a much better job of describing the functionality of this tool than I ever could in his <a href="http://www.sl-king.com/Fdo2Fdo/movies/fdo2fdo.html">flash movie</a>.  I really encourage you to have a look, but set your resolution to at least 1280&#215;1024 for best viewing.  As you&#8217;re watching, keep in mind that there is a command line utility included which can perform all of the common schema-related (ExportSchema, CreateDatastore, ApplySchema, CopyData) tasks.  For usage you can just navigate to the isntallation folder and type <code>f2fcmd</code> from the Windows command line.</p>
<p>The demo shows SHP, SDF, and Oracle as datastores, but you can easily add any FDO provider to the application.  These include things like MySQL, ArcSDE 9.1, and (read-only) any <a href="http://www.gdal.org/ogr/">OGR</a>-supported data format.  The utility of this application is simply outstanding.</p>
<p>If you paid attention to the movie (and know where I work) you&#8217;ll be able to figure out my personal interest in this tool.  It has allowed the City to set up a low cost one-click data synchronization between a remote field application and a corporate database.  All this required was the judicial use of the &#8220;Filter&#8221; option, some saved XML transfer tasks, and pre-defined schemas.  One cool feature (that we didn&#8217;t use) is that you can apply geometry filters, allowing you to transfer a specific area of interest.</p>
<p>fdo2fdo is currently only available in a windows binary download (with Oracle instant client bundled, which is why it&#8217;s so big), but Haris has assured me that after he cleans up the code he will be submitting at least the command line and API code to the FDO SVN repository under an appropriate OSI-approved license.  Haris is new to the open source world, but he&#8217;s catching on really fast.</p>
<p>I believe that the API and command line tool were coded in standard C++, so I&#8217;m hoping that they can be ported to Linux shortly after he uploads them.  I&#8217;m also hoping that the GUI portion of the application will be uploaded.  It&#8217;s apparently written in MFC, so there isn&#8217;t an easy translation to Linux.  However, it could act as a model to help someone else build a Linux-based GUI.</p>
<p>-J</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonbirch.com/nodes/2007/03/15/69/fdo2fdo-geospatial-data-tool/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WMS on Steroids &#8211; KML 2.1 Regions Application</title>
		<link>http://www.jasonbirch.com/nodes/2006/06/13/21/wms-on-steroids-kml-21-regions-application/</link>
		<comments>http://www.jasonbirch.com/nodes/2006/06/13/21/wms-on-steroids-kml-21-regions-application/#comments</comments>
		<pubDate>Tue, 13 Jun 2006 12:51:21 +0000</pubDate>
		<dc:creator>Jason Birch</dc:creator>
				<category><![CDATA[Google Earth]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.jasonbirch.com/nodes/2006/06/13/21/wms-on-steroids-kml-21-regions-application/</guid>
		<description><![CDATA[I hate the way Google keeps making me lose sleep :) By now most of you know that Google has released version 4 of Google Earth. This version comes with a new revision of the KML format, with some really cool goodies. If you haven&#8217;t already, make sure you download the latest version before trying [...]]]></description>
			<content:encoded><![CDATA[<p>I hate the way Google keeps making me lose sleep :)  </p>
<p>By now most of you know that <a href="http://earth.google.com/earth4.html">Google has released version 4 of Google Earth</a>.  This version comes with a new revision of the KML format, with some really cool goodies.  If you haven&#8217;t already, make sure you download the latest version before trying out any of the live demos in this post.</p>
<p>I&#8217;ve just finished hacking together a PHP script that distributes WMS services as nested Region-based KML layers, what Google is calling SuperOverlays.</p>
<p>You can download the WMS2KML script <a href="http://www.jasonbirch.com/wms2kml/download/wms2kml_v0.1.zip">as a zipfile</a>, or <a href="http://www.jasonbirch.com/wms2kml/wms2kml.phps">view the source</a> online.  And no comments on the sloppy style&#8230; I&#8217;m tired :)</p>
<p>Looking for some good WMS sites to try this out with, I picking up on <a href="http://www.perrygeo.net/wordpress/?p=35">Matt Perry&#8217;s post about his favourite WMS servers</a> a few months ago and used some of these for my examples.  The following images show what each of the WMS reflectors gives for an area off the east coast of Florida near Jacksonville.</p>
<p><strong>Base</strong></p>
<p><a class="imagelink" href="http://www.jasonbirch.com/nodes/wp-content/uploads/2006/06/jacksonville.png" title="Jacksonville - Base"><img id="image22" src="http://www.jasonbirch.com/nodes/wp-content/uploads/2006/06/jacksonville.thumbnail.png" alt="Jacksonville - Base" /></a></p>
<p><strong>USGS DOQ</strong></p>
<p><a class="imagelink" href="http://www.jasonbirch.com/nodes/wp-content/uploads/2006/06/jacksonville_doq.png" title="Jacksonville - DOQ"><img id="image23" src="http://www.jasonbirch.com/nodes/wp-content/uploads/2006/06/jacksonville_doq.thumbnail.png" alt="Jacksonville - DOQ" /></a></p>
<p><a href="http://www.jasonbirch.com/wms2kml/examples/wms2kml_doq.php">Live Example</a> &#8211; <a href="http://www.jasonbirch.com/wms2kml/examples/wms2kml_doq.phps">Source Code</a></p>
<p><strong>USGS DRG</strong></p>
<p><a class="imagelink" href="http://www.jasonbirch.com/nodes/wp-content/uploads/2006/06/jacksonville_drg.png" title="Jacksonville - DRG"><img id="image24" src="http://www.jasonbirch.com/nodes/wp-content/uploads/2006/06/jacksonville_drg.thumbnail.png" alt="Jacksonville - DRG" /></a></p>
<p><a href="http://www.jasonbirch.com/wms2kml/examples/wms2kml_drg.php">Live Example</a> &#8211; <a href="http://www.jasonbirch.com/wms2kml/examples/wms2kml_drg.phps">Source Code</a></p>
<p><strong>NEXRAD Base Reflectivity</strong></p>
<p><a class="imagelink" href="http://www.jasonbirch.com/nodes/wp-content/uploads/2006/06/jacksonville_nexrad.png" title="Jacksonville - NEXRAD"><img id="image25" src="http://www.jasonbirch.com/nodes/wp-content/uploads/2006/06/jacksonville_nexrad.thumbnail.png" alt="Jacksonville - NEXRAD" /></a></p>
<p><a href="http://www.jasonbirch.com/wms2kml/examples/wms2kml_nexrad.php">Live Example</a> &#8211; <a href="http://www.jasonbirch.com/wms2kml/examples/wms2kml_nexrad.phps">Source Code</a></p>
<p>Well, that&#8217;s it&#8230; I&#8217;m off to work.  Let me know what you think, and please pass along links to any services you put in place!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonbirch.com/nodes/2006/06/13/21/wms-on-steroids-kml-21-regions-application/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>MapGuide Open Source Package Utilities</title>
		<link>http://www.jasonbirch.com/nodes/2006/04/09/15/mapguide-open-source-package-utilities/</link>
		<comments>http://www.jasonbirch.com/nodes/2006/04/09/15/mapguide-open-source-package-utilities/#comments</comments>
		<pubDate>Sun, 09 Apr 2006 08:02:23 +0000</pubDate>
		<dc:creator>Jason Birch</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[MapGuide]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.jasonbirch.com/nodes/2006/04/09/15/mapguide-open-source-package-utilities/</guid>
		<description><![CDATA[MapGuide Open Source uses a binary XML data structure to store its site configuration. This contains things such as data1, layer definitions, map definitions, web layouts, and just about everything else. The existing data management tools don&#8217;t provide an easy way to reference external data2, but the advantages far outweigh this disadvantage. The recent 1.0.0 [...]]]></description>
			<content:encoded><![CDATA[<p>MapGuide Open Source uses a binary XML data structure to store its site configuration.  This contains things such as data<sup><a href="#fn1">1</a></sup>, layer definitions, map definitions, web layouts, and just about everything else.  The existing data management tools don&#8217;t provide an easy way to reference external data<sup><a href="#fn2">2</a></sup>, but the advantages far outweigh this disadvantage.</p>
<p>The recent <a href="http://www.jasonbirch.com/nodes/2006/04/07/14/mapguide-open-source-10-released/">1.0.0 release of MapGuide</a> comes with a great feature that allows you to import and export portions of this XML data store, including any referenced spatial data, into something called a &#8220;package&#8221;.  A package is just a zipfile with an .mgp extension, which contains XML data and any referenced files.</p>
<p>The only problem with this feature is that it could only be accessed via the web-based site administrator.  I wanted to use this ability to automate data transfers from my intranet site to my externally hosted internet site, and really didn&#8217;t want to be staying up until midnight each night.  Fortunately, MapGuide Open Source is, well, open source.  The site administration interface is written in PHP, and uses the same <a href="https://mapguide.osgeo.org/nonav/docs/webapi/index.html">well-documented web API</a> as the web maps.</p>
<p>Armed with a hammer (what else would you use to drive screws?) I attacked the site administration import/export code, and came up with a couple PHP utilities for importing and exporting packages from the command line using the <a href="http://www.php.net/features.commandline">php CLI</a>.</p>
<p><b>cli_loadpackage.php</b><br />Usage: <code>php cli_loadpackage.php AdministratorPassword PackageName.mgp</code>
</p>
<p><b>cli_makepackage.php</b> <em>{watch line wrap}</em><br />Usage: <code>php cli_makepackage.php AdministratorPassword PackageName.mgp Library://FolderPath "Package Description"</code></p>
<p>You can download mgpackageutils.zip from my site, but only with the understanding that I accept no responsibility for your use of these tools.  Even if you turn into a chicken.  This archive contains the PHP utilities, a readme file, a copy of the LGPL license, and a couple DOS batchfiles for testing:</p>
<p><b><a href="http://www.jasonbirch.com/files/mgpackageutils.zip">http://www.jasonbirch.com/files/mgpackageutils.zip</a></b></p>
<p>Next job?  Create a utility to unzip the .mgp file, rsync the results to the external site, and zip it back up before importing on the other side.  I&#8217;ll just file that at the bottom of my 10-page TODO list&#8230;</p>
<p>Footnotes:</p>
<p><a name="fn1">1</a>. Although the data itself could potentially be stored as a byte stream in the XML file, spatial data is typically stored within the Library repository on the server.</p>
<p><a name="fn2">2</a>. At some point I hope to be able to provide some tools to define external data sources, based on a <a href="https://mapguide.osgeo.org/servlets/ReadMsg?listName=users&#038;msgNo=321">conversation</a> on the MapGuide Users List)
</p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonbirch.com/nodes/2006/04/09/15/mapguide-open-source-package-utilities/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
