<?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>michalisavraam.org blog &#187; ArcGIS</title>
	<atom:link href="http://michalisavraam.org/tag/arcgis/feed/" rel="self" type="application/rss+xml" />
	<link>http://michalisavraam.org</link>
	<description>a spatial web presence</description>
	<lastBuildDate>Mon, 24 May 2010 17:17:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ESRI Updating Website ahead of new release</title>
		<link>http://michalisavraam.org/2010/04/esri-updating-website-ahead-of-new-release/</link>
		<comments>http://michalisavraam.org/2010/04/esri-updating-website-ahead-of-new-release/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 00:29:49 +0000</pubDate>
		<dc:creator>Michalis Avraam</dc:creator>
				<category><![CDATA[ESRI]]></category>
		<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[arcgis.com]]></category>
		<category><![CDATA[esri support]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[web gis]]></category>
		<category><![CDATA[web help]]></category>

		<guid isPermaLink="false">http://michalisavraam.org/?p=299</guid>
		<description><![CDATA[The ESRI family of websites have been seeing a lot of new updates as of late. The screenshot on the right is of the support site that ESRI offers, which hadn&#8217;t changed in quite a while. Notice the changes, including the lack of links to the web help (which has proven so helpful in the [...]


Related posts:<ol><li><a href='http://michalisavraam.org/2010/03/arcgis-com-now-online/' rel='bookmark' title='Permanent Link: ArcGIS.com now online'>ArcGIS.com now online</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="attachment_300" class="wp-caption alignright" style="width: 310px"><a href="http://michalisavraam.org/wp-content/uploads/2010/04/ESRI-Support.png"><img class="size-medium wp-image-300" title="The new ESRI Support website" src="http://michalisavraam.org/wp-content/uploads/2010/04/ESRI-Support-300x241.png" alt="The new ESRI Support website" width="300" height="241" /></a><p class="wp-caption-text">The new ESRI Support website</p></div>
<p>The ESRI family of websites have been seeing a lot of new updates as of late. The screenshot on the right is of <a href="http://support.esri.com/">the support site that ESRI offers</a>, which hadn&#8217;t changed in quite a while. Notice the changes, including the lack of links to the web help (which has proven so helpful in the past to show people help files), and no direct link to the forums prominent in the page (it is located on the left-hand side navigation bar). Instead, people are directed to the new <a href="http://resources.arcgis.com/">ESRI Resources site</a>, which appears to be the new organization of resources for ESRI products. It is nice to see ESRI trying to separate the official support requests from the support resources, even though I am not sure which design will be more useful to the majority of users.</p>
<div id="attachment_301" class="wp-caption alignright" style="width: 295px"><a href="http://michalisavraam.org/wp-content/uploads/2010/04/ArcGIS-Resource-Centers.png"><img class="size-medium wp-image-301" title="The new ArcGIS Resource Center" src="http://michalisavraam.org/wp-content/uploads/2010/04/ArcGIS-Resource-Centers-285x300.png" alt="The new ArcGIS Resource Center" width="285" height="300" /></a><p class="wp-caption-text">The new ArcGIS Resource Center</p></div>
<p>The new resources page, for those that did not notice it, is no longer on the esri.com domain, but rather moves to the arcgis.com domain we discussed in the previous post. In the meantime, arcgis.com is still under construction, which the &#8220;Coming soon&#8221; phrase over an oblique image of the earth. If anyone has any more insights to this, please do share them on the comments section below.</p>


<p>Related posts:<ol><li><a href='http://michalisavraam.org/2010/03/arcgis-com-now-online/' rel='bookmark' title='Permanent Link: ArcGIS.com now online'>ArcGIS.com now online</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://michalisavraam.org/2010/04/esri-updating-website-ahead-of-new-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ArcGIS.com now online</title>
		<link>http://michalisavraam.org/2010/03/arcgis-com-now-online/</link>
		<comments>http://michalisavraam.org/2010/03/arcgis-com-now-online/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 00:58:46 +0000</pubDate>
		<dc:creator>Michalis Avraam</dc:creator>
				<category><![CDATA[ESRI]]></category>
		<category><![CDATA[Quick notes]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[arcgis.com]]></category>
		<category><![CDATA[arcgisonline]]></category>
		<category><![CDATA[cloud]]></category>

		<guid isPermaLink="false">http://michalisavraam.org/?p=293</guid>
		<description><![CDATA[ArcGIS.com is now online, with a new look and design, and everyone&#8217;s favorite web phrase: &#8220;Coming Soon&#8230;&#8220;. A little bit of searching around the internet reveals some information from Vector1Media regarding a cloud-version of ArcGIS in collaboration with Amazon, providing on-the-go GIS functionality. This is a dramatic change from the previous functionality of the ArcGIS.com [...]


Related posts:<ol><li><a href='http://michalisavraam.org/2010/04/esri-updating-website-ahead-of-new-release/' rel='bookmark' title='Permanent Link: ESRI Updating Website ahead of new release'>ESRI Updating Website ahead of new release</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="attachment_294" class="wp-caption alignright" style="width: 310px"><a href="http://michalisavraam.org/wp-content/uploads/2010/03/Screen-shot-2010-03-23-at-5.35.06-PM.png"><img class="size-medium wp-image-294" title="ArcGIS.com Online Screenshot" src="http://michalisavraam.org/wp-content/uploads/2010/03/Screen-shot-2010-03-23-at-5.35.06-PM-300x183.png" alt="ArcGIS.com Online Screenshot" width="300" height="183" /></a><p class="wp-caption-text">ArcGIS.com Online Screenshot from 03/23/10</p></div>
<p><a href="http://arcgis.com/">ArcGIS.com</a> is now online, with a new look and design, and everyone&#8217;s favorite web phrase: &#8220;<em>Coming Soon&#8230;</em>&#8220;. A little bit of searching around the internet reveals some information from <a href="http://vector1media.com/spatialsustain/arcgis-com-means-a-full-gis-on-the-cloud.html">Vector1Media</a> regarding a cloud-version of ArcGIS in collaboration with Amazon, providing on-the-go GIS functionality.</p>
<p>This is a dramatic change from the previous functionality of the ArcGIS.com domain, which redirected to the esri.com section about ArcGIS. The Internet Archive has a number of <a href="http://web.archive.org/web/*/http://arcgis.com">older snapshots available here</a>.</p>
<p>Note that the site is currently only available to ESRI employees, that may actually have to request access too. Curiously, the <a href="http://maps.arcgis.com/">http://maps.arcgis.com/</a> domain mentioned in this<a href="http://blogs.esri.com/Support/blogs/arcgisonline/archive/2010/02/18/arcgis-online-at-the-federal-user-conference.aspx"> ESRI Blog entry</a> redirects to the same page, even though the screenshots seem to differ. This of course will be different from <a href="http://www.arcgisonline.com/">ArcGIS Online</a>, which is available now in Beta.</p>


<p>Related posts:<ol><li><a href='http://michalisavraam.org/2010/04/esri-updating-website-ahead-of-new-release/' rel='bookmark' title='Permanent Link: ESRI Updating Website ahead of new release'>ESRI Updating Website ahead of new release</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://michalisavraam.org/2010/03/arcgis-com-now-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is geoprocessing?</title>
		<link>http://michalisavraam.org/2010/03/what-is-geoprocessing/</link>
		<comments>http://michalisavraam.org/2010/03/what-is-geoprocessing/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 01:25:23 +0000</pubDate>
		<dc:creator>Michalis Avraam</dc:creator>
				<category><![CDATA[ESRI]]></category>
		<category><![CDATA[GIS* Points]]></category>
		<category><![CDATA[Python Geoprocessing]]></category>
		<category><![CDATA[Spatial Data]]></category>
		<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[data manipulation]]></category>
		<category><![CDATA[geoprocessing]]></category>

		<guid isPermaLink="false">http://michalisavraam.org/?p=279</guid>
		<description><![CDATA[An interesting question came about a few days ago. While I have been discussing ESRI&#8217;s geoprocessor and how one can use it effectively, I failed to define what geoprocessing is,, either within the ESRI realm or the general  GIS realm. In short, geoprocessing is an operation performed on geographic (spatial) data. In other words, it [...]


Related posts:<ol><li><a href='http://michalisavraam.org/2009/10/understanding-the-geoprocessor-programming-model-part/' rel='bookmark' title='Permanent Link: Understanding the Geoprocessor Programming Model part 1'>Understanding the Geoprocessor Programming Model part 1</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>An interesting question came about a few days ago. While I have been discussing ESRI&#8217;s geoprocessor and how one can use it effectively, I failed to define what geoprocessing is,, either within the ESRI realm or the general  GIS realm. In short, geoprocessing is an operation performed on geographic (spatial) data. In other words, it is when one uses data to perform some operations and receiving results. An example would be geocoding. The user provides spatial data (an address), which we geoprocess to identify the output (latitude and longitude). In the ArcGIS world, there are a few methods for geoprocessing:  running commands from the ArcToolbox, the Model Builder, the command line and Python scripting (the one I focus on mostly in this blog).<br />
<span id="more-279"></span><br />
<h2>The ArcToolbox</h2>
<div id="attachment_282" class="wp-caption alignright" style="width: 112px"><a href="http://michalisavraam.org/wp-content/uploads/2010/03/Picture-3.png"><img class="size-medium wp-image-282 " title="The ArcToolbox of ArcGIS 9.3" src="http://michalisavraam.org/wp-content/uploads/2010/03/Picture-3-146x300.png" alt="The ArcToolbox of ArcGIS 9.3" width="102" height="210" /></a><p class="wp-caption-text">The ArcToolbox of ArcGIS 9.3</p></div>
<p>The ArcToolbox is a collection of tools provided by ESRI that achieve a number of geoprocessing operations. They are logically organized in themes based on the functionality, and are available to use without any customization. These operations can be very powerful and achieve great results. As you can see from the image on the right, there is a number of tools available to you to use. Depending on the extensions you have installed, you will see some different results, but the Geocoding Tools we mentioned above are available with any kind of license. To use any of these geoprocessing tools, you simply double-click on its name, and a window will pop up asking you for the required inputs and outputs. Pay attention to all the options available to you, and make use of the help button to clarify what the operation does, and how it is achieved.</p>
<h2>The Model Builder</h2>
<div id="attachment_280" class="wp-caption alignright" style="width: 310px"><a href="http://michalisavraam.org/wp-content/uploads/2010/03/Picture-2.png"><img class="size-medium wp-image-280" title="The Model Builder Window" src="http://michalisavraam.org/wp-content/uploads/2010/03/Picture-2-300x207.png" alt="The Model Builder Window" width="300" height="207" /></a><p class="wp-caption-text">The Model Builder Window</p></div>
<p>The Model Builder is a wonderful program written by ESRI that allows you to graphically define geoprocessing operations. Using a simple tool, a user can drag and drop operations and data on a canvas, and connect them with directional arrows (signifying direction of data). On the example on the right, we follow the Address Geocoding operation. There are three data inputs for the operation, including an address locator, address fields to be used, and finally the input table with the addresses. There is one more data element in the picture, the output feature, on the far right. Note that all data are represented by ovals. The operation, which is in the middle, receives data from all the arrows pointing to it, and returns data to the arrow pointing outwards. Notice that the operation is in a rectangular box rather than an oval, to distinguish it.</p>
<h2>The Command Line</h2>
<div id="attachment_283" class="wp-caption alignright" style="width: 310px"><a href="http://michalisavraam.org/wp-content/uploads/2010/03/Picture-4.png"><img class="size-medium wp-image-283" title="The Command Line Window" src="http://michalisavraam.org/wp-content/uploads/2010/03/Picture-4-300x157.png" alt="The Command Line Window" width="300" height="157" /></a><p class="wp-caption-text">The Command Line Window</p></div>
<p>The command line window is one more way to achieve geoprocessing when one is using ArcGIS. The window simply allows one to type commands, an hit enter to execute them. Some users are more familiar with this interface, and like the speed of which you can type operations. Typing a few letters in the top box will give you a list of all commands starting with those letters. Pressing space will bring the tooltip shown in the top of the image on your right. As you can see, it tells you what the tool expects to run. In this case, it expects an input table (in_table), an address locator (address_locator), the address fields (in_address_fields) and where to save the output (output_feature). Optionally, you can set the out_relation_type (notice the curly braces this time).</p>
<h2>Python Scripting</h2>
<div id="attachment_284" class="wp-caption alignright" style="width: 310px"><a href="http://michalisavraam.org/wp-content/uploads/2010/03/Picture-5.png"><img class="size-medium wp-image-284" title="Python Scripting Geocoding" src="http://michalisavraam.org/wp-content/uploads/2010/03/Picture-5-300x149.png" alt="Python Scripting Geocoding" width="300" height="149" /></a><p class="wp-caption-text">Python Scripting Geocoding</p></div>
<p>The perhaps most complex way to perform geocoding is done through Python scripting. The example on the right actually presents geoprocessing code. What happens when one uses Python Scripting to create geoprocessing operations is similar with the command line option talked about earlier, with some slight changes. Python scripting gives you the option to interact with the data deeper. What this means is that the user can now access an individual point by latitude and longitude. And since all vector spatial data are built from points, this means you have deep access to any spatial data using Python (to see more about Accessing Geometries using the Geoprocessor <a href="http://michalisavraam.org/2009/02/accessing-geometries-using-the-geoprocessor-updated/">click here</a>). Also, as Python is a general use scripting language, you can find reusable code by other users (in the form of modules) to achieve things like reading Excel files (<a href="http://michalisavraam.org/2009/06/manipulating-excel-files-using-python-part-1-reading-files/">click here</a> for an overview).</p>
<p>And that is what geoprocessing is. Operations that work on spatial data. In the ArcGIS realm, that means either using ArcToolbox, the Model Builder, the Command Line interface or creating your own Python Scripts to achieve your desired results.</p>
Note: There is a rating embedded within this post, please visit this post to rate it.


<p>Related posts:<ol><li><a href='http://michalisavraam.org/2009/10/understanding-the-geoprocessor-programming-model-part/' rel='bookmark' title='Permanent Link: Understanding the Geoprocessor Programming Model part 1'>Understanding the Geoprocessor Programming Model part 1</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://michalisavraam.org/2010/03/what-is-geoprocessing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>7 wishes for the new Geoprocessor</title>
		<link>http://michalisavraam.org/2010/02/7-wishes-for-the-new-geoprocessor/</link>
		<comments>http://michalisavraam.org/2010/02/7-wishes-for-the-new-geoprocessor/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 01:33:05 +0000</pubDate>
		<dc:creator>Michalis Avraam</dc:creator>
				<category><![CDATA[ESRI]]></category>
		<category><![CDATA[Python Geoprocessing]]></category>
		<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[arcgisscripting]]></category>
		<category><![CDATA[geoprocessing]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://michalisavraam.org/?p=259</guid>
		<description><![CDATA[With the new version of ArcGIS coming out soon (9.4, now 10, tomorrow maybe X), it is nice to revisit the things I would love to see change in the geoprocessor. This is by no means a study on what is missing or what ESRI is doing wrong, but rather what I would like to [...]


Related posts:<ol><li><a href='http://michalisavraam.org/2009/10/understanding-the-geoprocessor-programming-model-part/' rel='bookmark' title='Permanent Link: Understanding the Geoprocessor Programming Model part 1'>Understanding the Geoprocessor Programming Model part 1</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>With the new version of ArcGIS coming out soon (9.4, now 10, tomorrow maybe X), it is nice to revisit the things I would love to see change in the geoprocessor. This is by no means a study on what is missing or what ESRI is doing wrong, but rather what I would like to see in the future. If you have any suggestions, please do write a comment and I will gladly add them to the post (and attribute the addition to you).</p>
<p><span id="more-259"></span></p>
<table style="border: 2px solid #000000; width: 280px;" border="2" cellspacing="1" cellpadding="2" align="right">
<tbody>
<tr>
<td><strong>Wish</strong></td>
<td><strong>Likely</strong></td>
<td><strong>In v.</strong><strong>10?</strong></td>
</tr>
<tr>
<td>Free gp</td>
<td>No</td>
<td></td>
</tr>
<tr>
<td>Path traversal</td>
<td>Maybe</td>
<td></td>
</tr>
<tr>
<td>Expose numpy</td>
<td>No</td>
<td></td>
</tr>
<tr>
<td>Faster startup</td>
<td>Maybe</td>
<td></td>
</tr>
<tr>
<td>Desktop exposure</td>
<td>Yes</td>
<td>Hopefully</td>
</tr>
<tr>
<td>Multi-core</td>
<td>Yes</td>
<td>Hopefully</td>
</tr>
<tr>
<td>List returns</td>
<td>No</td>
<td></td>
</tr>
</tbody>
</table>
<ol>
<li><strong>A free geoprocessor</strong>: While this is unlikely to happen in the foreseeable future, there are elements of the geoprocessor that can be made freely available, either as a separate Python module or through a license check for parts of the objects. Specifically, I am referring to some of the List* methods (ListRasters(), ListFeatureClasses(), etc.) that do not require deep access to data (this would include ProductInfo(), validators, and hopefully even the Describe object). <em>Why would ESRI want to do this?</em> To ensure that limited functionality is available to everyone independent of cost. Why restrict people from seeing the power of the geoprocessor? Let them join the fun, and perhaps become customers too.</li>
<li><strong>Path traversal options</strong>: The List*() methods come in the list again, with a slight change. Since many users use directory structures to store data that are deep (subfolder within a subfolder within a folder), it would be nice if the geoprocessor could read through them all and return refernces to them based on the current folder. Before one jumps in to say that the Python os module can help, please remember that most users are not aware of os.walk, and trying to deal with ERI GRIDS (which are a folder themselves) presents a challenge even for experienced Python programmers. <em>Why would ESRI want to do this?</em> To make life easier for the majority of users out there with data in directory trees.</li>
<li><strong>Expose numpy in the geoprocessor</strong>: The geoprocessor as is right now (9.3.1) uses the excellent numpy module to perform matrix algebra (think of raster manipulation). Yet, when one wishes to run numpy commands, one needs to manually read raster files with GDAL, import them as numpy arrays (default), perform operations, and translate back to raster. ESRI must have modules for dealing with this, and we want them. <em>Why would ESRI want to do this?</em> Right now, raster manipulation through Python is done outside the geoprocessor. Most people turn to open source tools to manipulate data, which leads to less and less users relying on ESRI for this. Why pay when free software will do it? The capability is there, and we need to access it too.</li>
<li><strong>A faster starting geoprocessor</strong>: Right now, on my dual-core, 4GB RAM machine, creating the geoprocessing object takes a noticeably long time (in the orders of a few seconds). Why is that the case today? If the geoprocessor is written as C module, the bottleneck is somewhere else. Regardless, this needs to be address, especially for using an interactive shell or multiple parallel processes involving the geoprocessor. <em>Why would ESRI want to do this?</em> Simply because a faster startup time is time-saving and psychologically makes people feel better about the tools at hand.</li>
<li><strong>Multi-core aware geoprocessor</strong>: Right now, ESRI operates on one core per command (on the desktop). Similarly, the geoprocessor is a one-core operation. Yet many operations can run in parallel, and indeed, many people on the ESRI forums try endlessly to achieve multi-core operations. This is not easy of course, and not many people know how to do it. <em>Why would ESRI want to do this?</em> Increase in speed for one, but most importantly, to introduce a way to achieve this for everyone that wants it. Right now, there are as many solutions to this as there are people needing it. One simple and good way to achieve this would allow for unification of effort, and some good documentation be written.</li>
<li><strong>Exposure to the desktop application when run through it</strong>: If you remember the good old VBA days (which will not be included on any version after 10, beware), you could manipulate the application via scripting. You could add data to a map, reference the 3rd item on the table of contents, etc. We want a return to this regime, but this time with Python. <em>Why would ESRI want to do this?</em> Something will need to replace VBA, and what better language than the chosen one for geoprocessing scripting? Also, access to such functionality opens up development to a larger audience, which can help bolster the industry by itself.</li>
<li><strong>Make every method return a Python list for multiple data</strong>: The cursor methods in ArcGIS right now return an enumeration object. While this is understandable (ESRI doesn&#8217;t want people manipulating the order of items or inserting items in the middle of the list), it is not to the best interest of the geoprocessing model to return both enumeration objects and Python lists. At the very least, the enumeration object should have more Pythonic methods, like append() to add an element in the end or pop() to remove the last item. <em>Why would ESRI want to do this?</em> Consistency. There was an attempt to become more Pythonic in 9.3, so why not keep up with the theme and be more consistent at the same time?</li>
</ol>
<p>Do you have any suggestions to include in this list? Please leave a comment. Or if you think I am off my head and don&#8217;t know what I am talking about.</p>
Note: There is a rating embedded within this post, please visit this post to rate it.


<p>Related posts:<ol><li><a href='http://michalisavraam.org/2009/10/understanding-the-geoprocessor-programming-model-part/' rel='bookmark' title='Permanent Link: Understanding the Geoprocessor Programming Model part 1'>Understanding the Geoprocessor Programming Model part 1</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://michalisavraam.org/2010/02/7-wishes-for-the-new-geoprocessor/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>PostGIS and ArcGIS: An interesting article</title>
		<link>http://michalisavraam.org/2009/09/postgis-and-arcgis-an-interesting-article/</link>
		<comments>http://michalisavraam.org/2009/09/postgis-and-arcgis-an-interesting-article/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 06:30:34 +0000</pubDate>
		<dc:creator>Michalis Avraam</dc:creator>
				<category><![CDATA[ESRI]]></category>
		<category><![CDATA[Quick notes]]></category>
		<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[ArcSDE]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://michalisavraam.org/?p=156</guid>
		<description><![CDATA[Paolo Corti has a very fascinating article I just stumbled upon on how to use PostGIS geometries with ArcSDE in 9.3. Head over to his website for the fascinating article detailing 4 different methods of using PostGIS with ArcGIS. Related posts:Python Geoprocessing in ArcGIS 9.2 vs. 9.3


Related posts:<ol><li><a href='http://michalisavraam.org/2009/07/python-geoprocessing-in-arcgis-9-2-vs-9-3/' rel='bookmark' title='Permanent Link: Python Geoprocessing in ArcGIS 9.2 vs. 9.3'>Python Geoprocessing in ArcGIS 9.2 vs. 9.3</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.paolocorti.net/about/">Paolo Corti</a> has a very fascinating article I just stumbled upon on how to use PostGIS geometries with ArcSDE in 9.3. <a href="http://www.paolocorti.net/2008/06/06/spatial-database-for-postgres-and-arcgis-users-how-to-choose/">Head over to his website</a> for the fascinating article detailing 4 different methods of using PostGIS with ArcGIS.</p>


<p>Related posts:<ol><li><a href='http://michalisavraam.org/2009/07/python-geoprocessing-in-arcgis-9-2-vs-9-3/' rel='bookmark' title='Permanent Link: Python Geoprocessing in ArcGIS 9.2 vs. 9.3'>Python Geoprocessing in ArcGIS 9.2 vs. 9.3</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://michalisavraam.org/2009/09/postgis-and-arcgis-an-interesting-article/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python Geoprocessing in ArcGIS 9.2 vs. 9.3</title>
		<link>http://michalisavraam.org/2009/07/python-geoprocessing-in-arcgis-9-2-vs-9-3/</link>
		<comments>http://michalisavraam.org/2009/07/python-geoprocessing-in-arcgis-9-2-vs-9-3/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 07:20:39 +0000</pubDate>
		<dc:creator>Michalis Avraam</dc:creator>
				<category><![CDATA[GIS* Points]]></category>
		<category><![CDATA[Python Geoprocessing]]></category>
		<category><![CDATA[Python Points]]></category>
		<category><![CDATA[9.2]]></category>
		<category><![CDATA[9.2 vs. 9.3]]></category>
		<category><![CDATA[9.3]]></category>
		<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[arcgisscripting]]></category>
		<category><![CDATA[geoprocessing]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://michalisavraam.org/?p=86</guid>
		<description><![CDATA[There are some fundamental differences between geoprocessing performed in ArcGIS version 9.2 and 9.3. While I will not cover them all in this post, I will attempt to show the most fundamental differences that people seem to encounter more often. The fundamental differences are as follows: The method of invoking the geoprocessor is very similar [...]


Related posts:<ol><li><a href='http://michalisavraam.org/2009/06/geoprocessing-iteration-with-python/' rel='bookmark' title='Permanent Link: Geoprocessing Iteration with Python'>Geoprocessing Iteration with Python</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>There are some fundamental differences between geoprocessing performed in ArcGIS version 9.2 and 9.3. While I will not cover them all in this post, I will attempt to show the most fundamental differences that people seem to encounter more often.<br />
<span id="more-86"></span><br />
The fundamental differences are as follows:</p>
<ol>
<li>The method of invoking the geoprocessor is very similar for both, with the exception of an optional parameters when creating the object.</li>
<li>Geoprocessing methods do not return Python built-in data types but rather ESRI iterable objects.</li>
<li>Methods that used to return True/False values now return the Python True or False object rather than a string or 0/1.</li>
</ol>
<p>The following table illustrates the differences:</p>
<table border="0">
<tbody>
<tr>
<th> ArcGIS version 9.2</th>
<th> ArcGIS version 9.3</th>
</tr>
<tr>
<td>
<pre class="brush: python;">
gp = arcgisscripting.create()
</pre>
</td>
<td valign="top">
<pre class="brush: python;">
gp = arcgisscripting.create(9.3)
</pre>
</td>
</tr>
<tr>
<td>
<pre class="brush: python;">
# Create a list of available feature classes
fcs = gp.ListFeatureClasses()
# Iterate through said feature classes
fcs.Reset()
fc = fcs.Next()
while fc:
    # Do work here
    fc = fcs.Next()
</pre>
</td>
<td valign="top">
<pre class="brush: python;">
# Create a list of available feature classes
fcs = gp.ListFeatureClasses()
# Iterate through said feature classes
for fc in fcs:
    # Do work here
</pre>
</td>
</tr>
<tr>
<td>
<pre class="brush: python;">
# Identify the fields of a feature class
dsc = gp.describe(fc)
# Get the fields from the description
flds = dsc.Fields
# Iterate through the fields
flds.Reset()
field = flds.Next()
while field:
    # Do work here
    field = flds.Next()
</pre>
</td>
<td valign="top">
<pre class="brush: python;">
# Identify the files of a feature class
dsc = gp.describe(fc)
# Get the fields from the description
flds = dsc.Fields
# Iterate through the fields
for field in flds:
    # Do work here
</pre>
</td>
</tr>
<tr>
<td>
<pre class="brush: python;">
# Tell the geoprocessor to overwrite output by default.
gp.OverWriteOutput = 1
</pre>
</td>
<td>
<pre class="brush: python;">
# Tell the geoprocessor to overwrite output by default
gp.OverWriteOutput = True
</pre>
</td>
</tr>
</tbody>
</table>
<p>There is not list of commands that need the changes to the best of my knowledge. But a quick look through the <a href="http://webhelp.esri.com/arcgisdesktop/9.2/pdf/Geoprocessor.pdf">Geoprocessor Programming Model for ArcGIS 9.2</a> can show which methods return an enumeration unit. In brief, ListDatasets, ListFeatureClasses, ListRasters, ListTables, ListWorkspaces, ListEnvironments, ListToolboxes, ListTools and all other methods that return an Array Object. For a complete listing of the changes, please read the ESRI document for <a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Differences_between_geoprocessor_versions">Geoprocessor changes in 9.3</a>.</p>
Note: There is a rating embedded within this post, please visit this post to rate it.


<p>Related posts:<ol><li><a href='http://michalisavraam.org/2009/06/geoprocessing-iteration-with-python/' rel='bookmark' title='Permanent Link: Geoprocessing Iteration with Python'>Geoprocessing Iteration with Python</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://michalisavraam.org/2009/07/python-geoprocessing-in-arcgis-9-2-vs-9-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
