<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Command line or graphical workflow editors</title>
	<atom:link href="http://spatiallyadjusted.com/2008/02/03/command-line-or-diagramming-software/feed/" rel="self" type="application/rss+xml" />
	<link>http://spatiallyadjusted.com/2008/02/03/command-line-or-diagramming-software/</link>
	<description>Geospatial Technology, Web Mapping and Spatial Services</description>
	<lastBuildDate>Fri, 10 Feb 2012 19:09:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Dan S.</title>
		<link>http://spatiallyadjusted.com/2008/02/03/command-line-or-diagramming-software/#comment-8240</link>
		<dc:creator><![CDATA[Dan S.]]></dc:creator>
		<pubDate>Mon, 04 Feb 2008 18:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.spatiallyadjusted.com/2008/02/03/command-line-or-diagramming-software/#comment-8240</guid>
		<description><![CDATA[Oh, I don&#039;t know about that. When it comes down to it, what you&#039;re doing is programming. (&quot;Script&quot;: a short program.) And visual programming -- AKA model builder -- has shortcomings that the computer science community has never been able to overcome, not in 40 years of trying.

Unless you need the screenshots to put into a powerpoint for your boss, I imagine most of us would strongly prefer tossing together a map calculator expression rather than wire together four or five different &quot;add&quot;, &quot;subtract&quot;, etc boxes.

Time will tell, but I suspect that textual scripts and command lines will be back in vogue in the GIS community. They are already experiencing a renaissance of sorts in general computing: What is google if not a command line for the internet? I know I&#039;m not the only one who doesn&#039;t use bookmarks much anymore. And look at Quicksilver on the Mac, or Enso Launcher for PCs...]]></description>
		<content:encoded><![CDATA[<p>Oh, I don&#8217;t know about that. When it comes down to it, what you&#8217;re doing is programming. (&#8220;Script&#8221;: a short program.) And visual programming &#8212; AKA model builder &#8212; has shortcomings that the computer science community has never been able to overcome, not in 40 years of trying.</p>
<p>Unless you need the screenshots to put into a powerpoint for your boss, I imagine most of us would strongly prefer tossing together a map calculator expression rather than wire together four or five different &#8220;add&#8221;, &#8220;subtract&#8221;, etc boxes.</p>
<p>Time will tell, but I suspect that textual scripts and command lines will be back in vogue in the GIS community. They are already experiencing a renaissance of sorts in general computing: What is google if not a command line for the internet? I know I&#8217;m not the only one who doesn&#8217;t use bookmarks much anymore. And look at Quicksilver on the Mac, or Enso Launcher for PCs&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle</title>
		<link>http://spatiallyadjusted.com/2008/02/03/command-line-or-diagramming-software/#comment-8239</link>
		<dc:creator><![CDATA[Kyle]]></dc:creator>
		<pubDate>Mon, 04 Feb 2008 16:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.spatiallyadjusted.com/2008/02/03/command-line-or-diagramming-software/#comment-8239</guid>
		<description><![CDATA[One of the problems I have with the modelbuilder is that with the GPOverwriteOutput turned on, the modeler can omit a parameter and output to an incorrect workspace.  What I like about script is that every one I write starts by setting the workspace parameter.  Then I also lighten my workload by not having to define full paths all the time.]]></description>
		<content:encoded><![CDATA[<p>One of the problems I have with the modelbuilder is that with the GPOverwriteOutput turned on, the modeler can omit a parameter and output to an incorrect workspace.  What I like about script is that every one I write starts by setting the workspace parameter.  Then I also lighten my workload by not having to define full paths all the time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle</title>
		<link>http://spatiallyadjusted.com/2008/02/03/command-line-or-diagramming-software/#comment-8238</link>
		<dc:creator><![CDATA[Kyle]]></dc:creator>
		<pubDate>Mon, 04 Feb 2008 00:54:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.spatiallyadjusted.com/2008/02/03/command-line-or-diagramming-software/#comment-8238</guid>
		<description><![CDATA[Pretty good topic.   I still use command line at ArcGIS, and I am the only one I know.  I use Excel to write my commands and use cell references to set variables which I believe gives me better control over the variables than model builder.   As an old AML guy I think command line script is the most brief and direct way to automate a task, with the benefits as mentioned.  I&#039;m not even talking about python or VB - just workflow geoprocessing at it&#039;s most basic.

Speaking of DOS - I used to get a lot of mileage out of personal geodatabases, ArcReader, batch files, and scheduled tasks.  Think about that formula for a minute.  

I agree that it&#039;s a dying art though.  I feel sorry for those that never give the computer the commands, because otherwise the computer gives the user commands, and that&#039;s never fun for long.]]></description>
		<content:encoded><![CDATA[<p>Pretty good topic.   I still use command line at ArcGIS, and I am the only one I know.  I use Excel to write my commands and use cell references to set variables which I believe gives me better control over the variables than model builder.   As an old AML guy I think command line script is the most brief and direct way to automate a task, with the benefits as mentioned.  I&#8217;m not even talking about python or VB &#8211; just workflow geoprocessing at it&#8217;s most basic.</p>
<p>Speaking of DOS &#8211; I used to get a lot of mileage out of personal geodatabases, ArcReader, batch files, and scheduled tasks.  Think about that formula for a minute.  </p>
<p>I agree that it&#8217;s a dying art though.  I feel sorry for those that never give the computer the commands, because otherwise the computer gives the user commands, and that&#8217;s never fun for long.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Fee</title>
		<link>http://spatiallyadjusted.com/2008/02/03/command-line-or-diagramming-software/#comment-8237</link>
		<dc:creator><![CDATA[James Fee]]></dc:creator>
		<pubDate>Sun, 03 Feb 2008 22:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.spatiallyadjusted.com/2008/02/03/command-line-or-diagramming-software/#comment-8237</guid>
		<description><![CDATA[Yea I debated about what to call them and you are probably right, diagramming software is probably incorrect.]]></description>
		<content:encoded><![CDATA[<p>Yea I debated about what to call them and you are probably right, diagramming software is probably incorrect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://spatiallyadjusted.com/2008/02/03/command-line-or-diagramming-software/#comment-8236</link>
		<dc:creator><![CDATA[Jeff]]></dc:creator>
		<pubDate>Sun, 03 Feb 2008 21:12:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.spatiallyadjusted.com/2008/02/03/command-line-or-diagramming-software/#comment-8236</guid>
		<description><![CDATA[I think the term &quot;diagramming software&quot; is not the best word to describe those two tools.

I&#039;d rather call them &quot;graphical script editors&quot; or &quot;graphical workflow editors&quot;.

Diagramming sounds like visio .. :)

Besides that, I think you are right, and those &quot;arrows&quot; are more reliable than writing variable names in notepad, where you can scramble the variable names easily and do not see what is going wrong.

Often, the best thing is a combination of command-line and graphical editing.

Set up your translation in your graphical environment (modelbuilder or workbench) and then use a command-line script (yeah, good old dos .bat -files) to batch the translation and apply it to all the files in a folder ...

like 

for %%f in (*.shp) do (
 fme.exe myShape2TabConversion.fmw ^
 --inputFile %%f ^
 --outputFile %%~nf.tab ^
 LOGFILE_NAME %%~nf.log
)

In Geoprocessing, I would go for a Python script like

import arcgisscripting

gp = arcgisscripting.create()

gp.workspace = something
gp.addtoolbox(yourtoolbox)

fcs = gp.listfeatureclasses(&quot;*&quot;,&quot;ALL)

fc = fcs.Next()

while fc:
      gp.callyourmodelhere(fc)
      fc = fcs.Next()]]></description>
		<content:encoded><![CDATA[<p>I think the term &#8220;diagramming software&#8221; is not the best word to describe those two tools.</p>
<p>I&#8217;d rather call them &#8220;graphical script editors&#8221; or &#8220;graphical workflow editors&#8221;.</p>
<p>Diagramming sounds like visio .. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Besides that, I think you are right, and those &#8220;arrows&#8221; are more reliable than writing variable names in notepad, where you can scramble the variable names easily and do not see what is going wrong.</p>
<p>Often, the best thing is a combination of command-line and graphical editing.</p>
<p>Set up your translation in your graphical environment (modelbuilder or workbench) and then use a command-line script (yeah, good old dos .bat -files) to batch the translation and apply it to all the files in a folder &#8230;</p>
<p>like </p>
<p>for %%f in (*.shp) do (<br />
 fme.exe myShape2TabConversion.fmw ^<br />
 &#8211;inputFile %%f ^<br />
 &#8211;outputFile %%~nf.tab ^<br />
 LOGFILE_NAME %%~nf.log<br />
)</p>
<p>In Geoprocessing, I would go for a Python script like</p>
<p>import arcgisscripting</p>
<p>gp = arcgisscripting.create()</p>
<p>gp.workspace = something<br />
gp.addtoolbox(yourtoolbox)</p>
<p>fcs = gp.listfeatureclasses(&#8220;*&#8221;,&#8221;ALL)</p>
<p>fc = fcs.Next()</p>
<p>while fc:<br />
      gp.callyourmodelhere(fc)<br />
      fc = fcs.Next()</p>
]]></content:encoded>
	</item>
</channel>
</rss>

