<?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>GIS Tips &#38; Tricks &#187; Editing</title>
	<atom:link href="http://www.aubreyrhea.net/gis/index.php/category/editing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aubreyrhea.net/gis</link>
	<description>for ESRI&#039;s ArcGIS suite</description>
	<lastBuildDate>Sun, 25 Jul 2010 14:42:03 +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>Georeferencing for Vectors: Overview of Spatial Adjustment</title>
		<link>http://www.aubreyrhea.net/gis/index.php/2009/11/georeferencing-for-vectors-overview-of-spatial-adjustment/</link>
		<comments>http://www.aubreyrhea.net/gis/index.php/2009/11/georeferencing-for-vectors-overview-of-spatial-adjustment/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 12:55:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Editing]]></category>
		<category><![CDATA[coordinate system]]></category>
		<category><![CDATA[spatial adjustment]]></category>

		<guid isPermaLink="false">http://www.aubreyrhea.net/gis/?p=143</guid>
		<description><![CDATA[Problem: Vector datasets are not lining up correctly in ArcMap, and you don&#8217;t know their projection At the end of my post about defining the projection of AutoCAD files, I promised to write about Spatial Adjustment. Spatial adjustment is much like georeferencing an image, wherein you place control points at known common locations between the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem: Vector datasets are not lining up correctly in ArcMap, and you don&#8217;t know their projection</strong></p>
<p>At the end of my <a href="http://www.aubreyrhea.net/gis/index.php/2009/09/defining-the-projection-of-autocad-dxf-files/">post</a> about defining the projection of AutoCAD files, I promised to write about Spatial Adjustment. Spatial adjustment is much like georeferencing an image, wherein you place control points at known common locations between the target layer and a reference layer, then run a process to align the two. ArcMap&#8217;s spatial adjustment toolbar allows you to do the same thing to a vector dataset using a slightly different, but familiar workflow. Please note that spatial adjustment should only be used when it is impossible to determine the projection of your vector data. Defining the correct projection will result in a much more accurate result.</p>
<p>I am returning to the city of Bloomington, Indiana and their AutoCAD files for this example. I&#8217;ve downloaded the landuse zoning dxf and the municipal boundary shp. I then projected the shapefile to a different coordinate system and cleared the projection definition so ArcMap is putting it in the wrong place. We&#8217;ll pretend you&#8217;ve received this shapefile and nobody has told you its projection. You need it to line up with the zoning AutoCAD layer.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/before.PNG" alt="" /></p>
<p>It is more likely you would be doing things the other way around, that is, that you would have received AutoCAD data with an unknown projection. However, spatial adjustment only works while inside an edit session. You cannot &#8220;start editing&#8221; AutoCAD data. You would need to convert it to a shapefile or feature class before you could spatially adjust it.</p>
<p>That brings us to step one. Start an edit session. Then, go to View &#8211;&gt; Toolbars and check on the Spatial Adjustment toolbar if it is not visible already. Use the main dropdown menu to Set Adjust Data and chose your target layer (in this case the municipal boundary shape). You will have the option to adjust all the features or only the selected features. We will do all of them.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/AdjustData.PNG" alt="" /></p>
<p>Then, press the button that looks just like Georeferencing&#8217;s &#8220;Add Control Points&#8221; to add your first <em>Displacement Link</em>. The lingo is different; the concept is the same.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/newLink.png" alt="" /></p>
<p>Click on a distinguishing feature on the municipal boundary and then on that same feature in the zoning layer. Remember, you always start with the layer that you want to move and end by telling it where to go.</p>
<p>One difference that takes some getting used to is that there is no Shift or Fit to Display ability like there is in georeferencing. So, you can&#8217;t get the target layer and the reference layer into the same window before you start adding displacement links. You will have to keep zooming back and forth between them. If you can&#8217;t place your links as precisely as you&#8217;d like due to this, don&#8217;t worry, you can get them in the general vicinity and then press Modify Link to edit them.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/modLink.PNG" alt="" /></p>
<p>Another difference between this and georeferencing is that placing links doesn&#8217;t automatically cause the layer to move. That only happens when you select Adjust from the dropdown menu. You will not be able to select Adjust until you have placed three links. I recommend doing so as soon as you can just to get things into the same universe. (There&#8217;s no limit to how many times you can re-adjust later.) Just like with georeferencing, place your three links as far apart from each other as possible.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/Adjustment.PNG" alt="" /></p>
<p>Once you have adjusted, your links will disappear, and you will be able to refine your results by adding more links.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/final01.PNG" alt="" /><br />
(After first adjustment)</p>
<p>At this point you may also want to experiment with different adjustment methods. The first three in the list are coordinate system transformations. You should stick with these when the only reason your data isn&#8217;t lining up is that you don&#8217;t know the projection.</p>
<ul>
<li>Affine (the default) will scale, skew, rotate, and translate the data.</li>
<li>Similarity will scale, rotate, and translate but it will not skew. It will not change the aspect ratio or the shape of features&#8211; only their size, position and orientation.</li>
<li>Project uses a more complex formula that is tailored to features that have been captured from aerial photography.</li>
</ul>
<p>The last two should only be used if you know there are errors within your target layer that make it less accurate than your reference layer.</p>
<ul>
<li>Rubbersheeting behaves like it sounds&#8211; pulling and stretching your layer in a piecewise fashion. The areas that are closer to displacement links will move more dramatically. Identity links (the black and red square crosshair button) can be used to nail down features that should not move. If rubbersheeting is used it should be as a second step after transformation.</li>
<li>Edge Matching is used to merge adjacent layers that have been split up. It makes sure features line up along one edge only.</li>
</ul>
<p>You can preview the results of different adjustment methods in the preview window. You can also use the preview window to see the effects different displacement links will have.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/AdjustMeth.PNG" alt="" /></p>
<p>Another way to check your work is by looking at the link table. If you are using a transformation adjustment method, get an idea of your RMS error. If you place a link that increases the RMS and Residual errors substantially, delete the link and try something else. I recommend keeping both the Preview Window and the Link Table open while you are working.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/linktable.PNG" alt="" /></p>
<p>When you are happy with what you see, make a final adjustment and then save your edits.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aubreyrhea.net/gis/index.php/2009/11/georeferencing-for-vectors-overview-of-spatial-adjustment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2 ways to create a multipart polygon</title>
		<link>http://www.aubreyrhea.net/gis/index.php/2009/10/2-ways-to-create-a-multipart-polygon/</link>
		<comments>http://www.aubreyrhea.net/gis/index.php/2009/10/2-ways-to-create-a-multipart-polygon/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 12:08:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Editing]]></category>
		<category><![CDATA[multipart]]></category>
		<category><![CDATA[polygon]]></category>

		<guid isPermaLink="false">http://www.aubreyrhea.net/gis/?p=119</guid>
		<description><![CDATA[Problem: You need to create a second distinct polygon that is attached to the same record in the attribute table. A multipart polygon is a group of polygons that have gaps between them, but only one attribute table entry (and therefore only one object ID). They might be used in a case where there are [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem: You need to create a second distinct polygon that is attached to the same record in the attribute table.</strong></p>
<p>A multipart polygon is a group of polygons that have gaps between them, but only one attribute table entry (and therefore only one object ID). They might be used in a case where there are multiple buildings on the same parcel, multiple zones of influence for the same actor, or multiple lilypads on the same pond. If all the attributes are the same, might as well use the same record for all, instead of a long list of repeating values. You will know you are dealing with multipart features if you click on one polygon to select or identify it, and other polygons light up too. But how do you create one?</p>
<p>I know of two ways: one I have been doing for a long time and another I just learned. I will start with the new way, although I think I still prefer the old. Both sets of instructions assume you have already digitized the first polygon.</p>
<p><strong>Tacking on a multipart, Way #1:</strong></p>
<ol>
<li>With the editor tool (black arrow), select your polygon.</li>
<p><img src="http://www.aubreyrhea.net/gis/images/editortool.PNG" alt="" /></p>
<li>Change the edit Task to Modify Feature.</li>
<p><img src="http://www.aubreyrhea.net/gis/images/modify.PNG" alt="" /></p>
<li>Switch to the sketch tool (yellow pencil). Lines will extend out between your starting and ending vertices.</li>
<p><img src="http://www.aubreyrhea.net/gis/images/linesextend.PNG" alt="" /></p>
<li>Hover over one of these vertices and right click to Finish Part.</li>
<p><img src="http://www.aubreyrhea.net/gis/images/finishpart.PNG" alt="" /></p>
<li>Digitize your next polygon like normal. When you have created the final vertex, right click to Finish Sketch.</li>
</ol>
<p><img src="http://www.aubreyrhea.net/gis/images/finishsketch.PNG" alt="" /></p>
<p>Or, select Finish Part if you want to create additional polygons in the multipart feature. Finish Sketch when you&#8217;re done creating the last one.</p>
<p>You have to follow these steps exactly as I have written them or it won&#8217;t work. I find this procedure a little nit-picky but it may just be because I am not used to it yet. The only advantage I can think of is that you never end up of creating a second attribute record this way, which may help in keeping object IDs straight.</p>
<p><strong>Tacking on a multipart, Way #2:</strong></p>
<ol>
<li>Digitize your second polygon in the normal way.</li>
<li>With the Edit tool, hold down the Shift Key to select both polygons.<br />
(Or, click and drag to draw a box around them)</li>
<li>Select Merge from the Editor menu.</li>
</ol>
<p><img src="http://www.aubreyrhea.net/gis/images/merge.PNG" alt="" /><br />
Try them both and pick your favorite!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aubreyrhea.net/gis/index.php/2009/10/2-ways-to-create-a-multipart-polygon/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating a doughnut polygon</title>
		<link>http://www.aubreyrhea.net/gis/index.php/2009/08/creating-a-doughnut-polygon/</link>
		<comments>http://www.aubreyrhea.net/gis/index.php/2009/08/creating-a-doughnut-polygon/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 12:03:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Editing]]></category>
		<category><![CDATA[polygon]]></category>
		<category><![CDATA[snapping]]></category>

		<guid isPermaLink="false">http://www.aubreyrhea.net/gis/?p=29</guid>
		<description><![CDATA[Problem: You need to cut a hole out of a polygon This comes up a lot. Perhaps you&#8217;re digitizing a lake, and it has an island in the middle of it. Or there&#8217;s an area of lawn surrounding a building. If you&#8217;re starting from scratch, I recommend drawing lines and converting them to polygons. Similarly, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem: You need to cut a hole out of a polygon</strong></p>
<p>This comes up a lot. Perhaps you&#8217;re digitizing a lake, and it has an island in the middle of it. Or there&#8217;s an area of lawn surrounding a building. If you&#8217;re starting from scratch, I recommend drawing lines and <a href="http://www.aubreyrhea.net/gis/index.php/2009/07/creating-a-continuous-surface-of-polygons/">converting them to polygons</a>. Similarly, if you need to make a lot of holes, I recommend converting your polygons into lines, editing the lines, then converting back to polygons. That method is simpler for large scale changes.</p>
<p>But sometimes you just need a quick hole or two right now. For instance, you might be working in the <a href="http://www.cityoflansingmi.com/pnd/planning/maps.jsp">Planning Office</a> for the city of Lansing, Michigan. You might be in charge of maintaining their Existing Land Use Map, shown below.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/existing_land_use.jpg" alt="" /></p>
<p>In the southwest quadrant of the map, there is one region of Institutional land that has a Single Residence in the middle. Let&#8217;s pretend that house was just built, and you&#8217;ve been asked to update the map.</p>
<p>Here&#8217;s how you could do it:</p>
<p>1. Make your Land Use polygon layer partially transparent so you can see what you&#8217;re doing underneath.</p>
<p>Howto: Right click on the layer in the Table of Contents to bring up Layer Properties. On the Display tab, enter a number greater than 0 and less than 100 in the Transparent % box. 50% is good.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/transparent.jpg" alt="" /></p>
<p>2. Enable editing and double click on the Institutional polygon to show the sketch vertices. Note: Double clicking brings you into Modify Feature mode, allowing you to move vertices in the existing polygon. A single click is Create Feature mode, which draws a new polygon.</p>
<p>3. Right click on the edge of the sketch, near where you want to create the hole, to Insert Vertex. Then create two more vertices next to it.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/insert.jpg" alt="" /></p>
<p>4. Pull the center vertex in towards one of the outer corners of your hole.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/pull.jpg" alt="" /></p>
<p>5. Create as many new vertices as needed to drag out to all of the other corners.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/corners.jpg" alt="" /></p>
<p>6. Prepare to close the empty space and the filled in space by placing two vertices at each location close to another. You&#8217;ll end up with a narrow rectangle connecting the edge of the filled space with the edge of the empty space.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/close.jpg" alt="" /></p>
<p>7. The idea is to turn this rectangle into a line by merging the vertices at the top and bottom. To do this, turn on snapping to sketch vertices.</p>
<p>Howto: Select snapping from the Editor drop down menu and check the Edit sketch vertices box.</p>
<p>8. Pull the vertices together.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/line.jpg" alt="" /></p>
<p>When you click away, that connecting line will disappear, giving you the two distinct areas you want. Now, it&#8217;s a simple matter to draw a new polygon for the Residential area within that hole. Just snap to its four corners.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/twopoly.jpg" alt="" /></p>
<p>Make sure that snapping to the editable layer, and not just the sketch, is turned on for this.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/snapl.jpg" alt="" /></p>
<p>Note: If you are just creating a visual map, you can draw the smaller polygon on top of the larger, and then set Symbol Levels to ensure they display correctly. (Symbol levels are available from the Advanced drop down in the Symbology tab of the Layer Properties dialog). This is a quick fix if you&#8217;re on a tight deadline. It is not recommend if you&#8217;re going to be doing analysis on the layer or distributing it to others.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/levels.jpg" alt="" /></p>
<p>Another Note: There are other ways to do this, such as using the Cut Polygon Features task (for a hole), or the Clip task (for a polygon inside a polygon). ArcMap&#8217;s Help describes both of these methods. I like following the steps I have outlined because I can accomplish everything by clicking and dragging without switching between editing tasks. Within GIS, there are many ways to do most things, and you will develop your own style.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aubreyrhea.net/gis/index.php/2009/08/creating-a-doughnut-polygon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a continuous surface of polygons</title>
		<link>http://www.aubreyrhea.net/gis/index.php/2009/07/creating-a-continuous-surface-of-polygons/</link>
		<comments>http://www.aubreyrhea.net/gis/index.php/2009/07/creating-a-continuous-surface-of-polygons/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 14:18:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Editing]]></category>
		<category><![CDATA[construct features]]></category>
		<category><![CDATA[polygon]]></category>
		<category><![CDATA[snapping]]></category>

		<guid isPermaLink="false">http://www.aubreyrhea.net/gis/?p=21</guid>
		<description><![CDATA[The problem: You need to digitize adjacent polygons This isn&#8217;t as straightforward as it initially appears. If you need to digitize some points of interest, you create an empty point layer and start clicking away. If you need to digitize some river or road lines, you create an empty line layer and start tracing. But [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The problem: You need to digitize adjacent polygons</strong></p>
<p>This isn&#8217;t as straightforward as it initially appears. If you need to digitize some points of interest, you create an empty point layer and start clicking away. If you need to digitize some river or road lines, you create an empty line layer and start tracing. But if you follow the same logic to create polygons, unless those polygons don&#8217;t touch, you&#8217;re going to run into trouble.</p>
<p><img style="margin-left:0px;margin-right:15px;" src="http://www.aubreyrhea.net/gis/images/lakes.jpg" alt="" align="left" />Polygons that are separate from one another, such as building footprints or lakes, no problem. But polygons that form a continuous surface, such as landcover, administrative areas (e.g. counties, zip codes), soil types, or flood plains, big problem.</p>
<p>Why? Well, let&#8217;s take the example of a soil map. I downloaded this one from the <a href="http://www.antrimcounty.org/community7767348.asp">Antrim County Community Center</a>. It&#8217;s a 1928 Soil Survey of Antrim County, Michigan.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/antrim.jpg" alt="" /></p>
<p>I zoomed in on an area of Antrim gravelly sandy loam, and drew my first polygon. Then I created a second polygon for the Lupton muck next to it.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/poly.jpg" alt="" /></p>
<p><img style="margin-left:0px;margin-right:15px;margin-bottom:5px;" src="http://www.aubreyrhea.net/gis/images/sliver.jpg" alt="" align="left" />Looks fine, except when we zoom in. The polygons don&#8217;t line up. Those empty spaces in between are called slivers. They are to be avoided at all costs. They will mess up feature counts and calculations of areas. They don&#8217;t represent the real world, and they look bad. However, they are virtually impossible to avoid if you are digitizing in this manner. You can try to by zooming really far in while you are drawing, and being really careful, but what a headache! Fortunately, the cost is not that high.</p>
<p>One way to avoid slivers is by the use of snapping. The snapping toolbar is available from the Editor dropdown menu in ArcMap. Here, I have turned on snapping to vertices in both the existing polygons and the new one I&#8217;m drawing (the sketch). Now, when I hover close to a vertex, the mouse will jump right on top of it. Snapping makes it impossible for you to create a vertex in your new polygon that is <em>close</em> to a vertex in any nearby polygon. It forces all vertices to be in the exact same place, or far away.</p>
<p>Note: This will make creating very tiny polygons difficult. If you run into trouble with this you will need to change your snapping tolerance by selecting Options in the Editor dropdown.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/snap.jpg" alt="" /></p>
<p>Snapping is enough to fix the problem if you have just a few polygons or a lot of straight lines (like rectangular buildings). But in the case of this curvy soil map, you&#8217;re still going to have to zoom in and be careful to &#8220;hit&#8221; every vertex. It only offers a small help.</p>
<p>A much better way: Don&#8217;t digitize the polygons. Digitize the lines between the polygons.</p>
<p>Create an empty line file, and don&#8217;t worry about attributes yet. Zoom in to the scale you plan to digitize at, and don&#8217;t deviate from that zoom. Turn snapping on so that intersections meet. Then, just pan around and draw.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/lines.jpg" alt="" /></p>
<p>Now</p>
<ol>
<li> Create an empty polygon layer and add it to your map</li>
<li> Start editing and make the polygon layer your target</li>
<li> Select all the features in the line layer</li>
<li> Turn on the Topology menu, and use the Construct Features tool. This will create a polygon from every distinct closed area.</li>
</ol>
<p>Note: Snapping is important for the tool to recognize these areas as closed. If your result has holes, it is because you missed a spot.</p>
<p><a href="http://www.aubreyrhea.net/gis/images/construct.jpg"><img src="http://www.aubreyrhea.net/gis/images/construct-small.jpg" alt="" /></a></p>
<p>Congratulations! You have just about halved the number of vertices you had to draw, and created truly contiguous polygons. Now, add your attribute fields. It&#8217;s a good idea to save the line file in case you need to go back and make changes later.</p>
<p><img src="http://www.aubreyrhea.net/gis/images/congrats.jpg" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aubreyrhea.net/gis/index.php/2009/07/creating-a-continuous-surface-of-polygons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
