<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SWIS code help in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691363#M22911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By the way, when you did the Spatial Join, make sure no points were selected.&amp;nbsp; The Spatial Join would only use selected points, so if you had selected the points inside the boundaries, only they would end up in the output points.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Aug 2013 17:45:44 GMT</pubDate>
    <dc:creator>RichardFairhurst</dc:creator>
    <dc:date>2013-08-01T17:45:44Z</dc:date>
    <item>
      <title>SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691347#M22895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I work for a company that has a list of 35,000+ jobs over 30+ years that they would like to reference easily in a GIS database. They are sorted by the New York State SWIS Codes that can be found here: &lt;/SPAN&gt;&lt;A href="http://gis.ny.gov/coordinationprogram/workgroups/wg_1/related/spcodes/swis.htm"&gt;http://gis.ny.gov/coordinationprogram/workgroups/wg_1/related/spcodes/swis.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So for example, I would have: Job A, SWIS Index #, XXXXXX, XXXXXX in an excel file, import to ArcGIS, (IE: Job A, 3720, XXXXXX, XXXXXX = Job A is located in Putnam County, in the town of Carmel, with XXXXXX, XXXXXX GPS coordinates), and have all the jobs plotted on a map by SWIS code using the GPS coordinate assigned to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That part is easy. The issue I'm having though, is that I would say between 15-20% of our jobs are referenced wrong. So for instance, Job A might have the Carmel/Putnam County SWIS code (3720) but the GPS coordinates might put it somewhere in New York City (easy to locate, since I would have only Putnam County/Carmel viewable and the dot is way off the map) or vice versa, where a job has a New York City SWIS code but plotting in Carmel (very difficult to locate, since it would be a essentially a needle in a hay-stack with thousands of other jobs in Carmel).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finding the ones that are outside of my selected city/town/village are easy. Finding the harder ones is tough. I can go through manually and do jobs by town/city using the SWIS index but considering I have a dozen+ counties to go through and well over 100+ cities/towns/villages, my boss doesn't find that very economical and doesn't want me to do that, and I agree. I'm not that expierenced enough yet with ArcGIS where I can import the coodinates and be able to search "3720" and have all the "error jobs" pop up, which is why I'm asking for help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To sum up, I need to find these two errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Right SWIS code, wrong GPS coordinate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Wrong SWIS code, right GPS cooridinate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Easily, but just searching the SWIS code. However if that's not possible I am open to all other suggestions. My end solution is to find the two errors listed about &lt;B&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;easily&lt;/SPAN&gt;&lt;SPAN&gt;&lt;B&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also using ArcGIS 9.2 Build 1234, with not many licenses/features to play with. So any help would be much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 15:51:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691347#M22895</guid>
      <dc:creator>ChrisHutsko</dc:creator>
      <dc:date>2013-07-31T15:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691348#M22896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I work for a company that has a list of 35,000+ jobs over 30+ years that they would like to reference easily in a GIS database. They are sorted by the New York State SWIS Codes that can be found here: &lt;A href="http://gis.ny.gov/coordinationprogram/workgroups/wg_1/related/spcodes/swis.htm"&gt;http://gis.ny.gov/coordinationprogram/workgroups/wg_1/related/spcodes/swis.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;So for example, I would have: Job A, SWIS Index #, XXXXXX, XXXXXX in an excel file, import to ArcGIS, (IE: Job A, 3720, XXXXXX, XXXXXX = Job A is located in Putnam County, in the town of Carmel, with XXXXXX, XXXXXX GPS coordinates), and have all the jobs plotted on a map by SWIS code using the GPS coordinate assigned to it.&lt;BR /&gt;&lt;BR /&gt;That part is easy. The issue I'm having though, is that I would say between 15-20% of our jobs are referenced wrong. So for instance, Job A might have the Carmel/Putnam County SWIS code (3720) but the GPS coordinates might put it somewhere in New York City (easy to locate, since I would have only Putnam County/Carmel viewable and the dot is way off the map) or vice versa, where a job has a New York City SWIS code but plotting in Carmel (very difficult to locate, since it would be a essentially a needle in a hay-stack with thousands of other jobs in Carmel).&lt;BR /&gt;&lt;BR /&gt;Finding the ones that are outside of my selected city/town/village are easy. Finding the harder ones is tough. I can go through manually and do jobs by town/city using the SWIS index but considering I have a dozen+ counties to go through and well over 100+ cities/towns/villages, my boss doesn't find that very economical and doesn't want me to do that, and I agree. I'm not that expierenced enough yet with ArcGIS where I can import the coodinates and be able to search "3720" and have all the "error jobs" pop up, which is why I'm asking for help.&lt;BR /&gt;&lt;BR /&gt;To sum up, I need to find these two errors:&lt;BR /&gt;1) Right SWIS code, wrong GPS coordinate&lt;BR /&gt;2) Wrong SWIS code, right GPS cooridinate&lt;BR /&gt;Easily, but just searching the SWIS code. However if that's not possible I am open to all other suggestions. My end solution is to find the two errors listed about &lt;B&gt;&lt;SPAN style="font-style:italic;"&gt;easily&lt;/SPAN&gt;&lt;B&gt;&lt;BR /&gt;&lt;BR /&gt;I am also using ArcGIS 9.2 Build 1234, with not many licenses/features to play with. So any help would be much appreciated.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/B&gt;&lt;/B&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have a polygon layer with your SWIS boundaries? If so you can Spatial Join the points to the SWIS boundaries.&amp;nbsp; Make sure the option to keep all target features is checked.&amp;nbsp;&amp;nbsp; The output would have the original point SWIS code and the actual SWIS code location the point fell within.&amp;nbsp; You can then easily select where the two SWIS code fields do not match.&amp;nbsp; Determining whether the SWIS code is wrong or the coordinate is wrong would have to be determined by some other field data, but assuming there is another field that could indicate whether a given SWIS code was correct or not, you could check the two SWIS codes against that field.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 16:21:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691348#M22896</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-07-31T16:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691349#M22897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Do you have a polygon layer with your SWIS boundaries? If so you can Spatial Join the points to the SWIS boundaries.&amp;nbsp; Make sure the option to keep all target features is checked.&amp;nbsp;&amp;nbsp; The output would have the original point SWIS code and the actual SWIS code location the point fell within.&amp;nbsp; You can then easily select where the two SWIS code fields do not match.&amp;nbsp; Determining whether the SWIS code is wrong or the coordinate is wrong would have to be determined by some other field data, but assuming there is another field that could indicate whether a given SWIS code was correct or not, you could check the two SWIS codes against that field.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I'm reading you/doing it right, this only gives me the jobs outside the SWIS code. I still need the jobs that fall within a SWIS code that shouldn't be there&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 18:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691349#M22897</guid>
      <dc:creator>ChrisHutsko</dc:creator>
      <dc:date>2013-07-31T18:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691350#M22898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I'm reading you/doing it right, this only gives me the jobs outside the SWIS code. I still need the jobs that fall within a SWIS code that shouldn't be there&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You are reading me wrong.&amp;nbsp; If you follow my suggestion the output will give you all points, whether a SWIS boundary exist or not.&amp;nbsp; In fact if you did not use the keep all features option the exact opposite of your assumption would occur.&amp;nbsp; In that case only points that fell inside SWIS areas would be in the output and you would only be able to detect the jobs that should fall outside.&amp;nbsp; Since you want all of the jobs check the keep all features option.&amp;nbsp; Just make sure the points are the first layer and the SWIS boundaries are the second layer for the join.&amp;nbsp; The output will be the full set of original points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you also should check the One to many option.&amp;nbsp; Then if no SWIS area exists its Join FID will be -1, meaning the point is outside the area.&amp;nbsp; The SWIS value of the join will be NULL, which is also easy to select for &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SWIS_1 IS NULL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Otherwise the point will have a real SWIS join FID and falls inside the area.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You call also find jobs that fall within an SWIS boundary area, but where the SWIS of the point spatial location not match the expected SWIS of the points attributes, meaning that one or the other is incorrect despite both the attribute and the point itself falling inside the SWIS area.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 18:34:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691350#M22898</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-07-31T18:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691351#M22899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is an example of the Spatial Join settings that would get you what you want.&amp;nbsp; The important thing is that the points are the target, the SWIS boundary polygons are the join and that the Keep All Target Features option is checked.&amp;nbsp; I suggest also using the JOIN_ONE_TO_MANY option as well for your problem and just using the default INTERSECT option.&amp;nbsp; The output will be all of the original points with the attributes of the original points themselves and the attributes of the intersected SWIS boundaries combined in one point feature class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 18:58:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691351#M22899</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-07-31T18:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691352#M22900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I still must be doing it wrong, because all I'm getting are the points within the SWIS code boundary and not the points outside the SWIS code area with the SWIS code (wrong GPS coordinates). I get what you're saying now, but I'm sure there's a attribute error with my shapefiles that's messing it up. Regardless, this way is still time consuming because I would have to go through each city/town/village to get it completed. My boss really just wants it simple: Plug in a code, and it spits out all the errors. Only way I could do that is if I had GIS programming knowledge which I don't...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another issue I'm having is that my points are NAD27 and the shapefiles are NAD83 but yet they're projecting together which makes no sense, but that's for another time haha&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 11:09:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691352#M22900</guid>
      <dc:creator>ChrisHutsko</dc:creator>
      <dc:date>2013-08-01T11:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691353#M22901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I still must be doing it wrong, because all I'm getting are the points within the SWIS code boundary and not the points outside the SWIS code area with the SWIS code (wrong GPS coordinates). I get what you're saying now, but I'm sure there's a attribute error with my shapefiles that's messing it up. Regardless, this way is still time consuming because I would have to go through each city/town/village to get it completed. My boss really just wants it simple: Plug in a code, and it spits out all the errors. Only way I could do that is if I had GIS programming knowledge which I don't...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Another issue I'm having is that my points are NAD27 and the shapefiles are NAD83 but yet they're projecting together which makes no sense, but that's for another time haha&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to reproject the points to match the boundary or the other way around first.&amp;nbsp; Probably there is an error in the extent allowed by the output due to the different projections.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Screen shot the Spatial Join tool screen inputs after the project is completed if the problem is not solved.&amp;nbsp; I assure you all of the points will be preserved in the output with the settings I showed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your thoughts about not being able to select all of the errors is wrong also.&amp;nbsp; All you need is a single query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SWIS &amp;lt;&amp;gt; SWIS_1 OR (Not SWIS is Null and SWIS_1 is Null) OR (SWIS is Null and Not SWIS_1 is Null)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will select all of the values that are in error.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, you need to determine if a pattern or corroborating data value exists that would tell you which SWIS value is correct and which is incorrect.&amp;nbsp; Do you have any other independent field on the point that would indicate what the SWIS value should be, such as a ZIP code or City Name?&amp;nbsp; If you did that could be incorporated into the selection logic to separate the error into 2 categories:&amp;nbsp; wrong SWIS, wrong point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assuming you think the point location is more correct, calculate the original table SWIS value to equal the SWIS_1 value from the boundaries.&amp;nbsp; If you are sure the point is wrong, calculate the X/Y coordinates from the centroid of the SWIS boundary into the coordinates of the point layer.&amp;nbsp; Export the table view of the points to a table and then use the Make X/Y Event Layer to see all the points appear in their correct location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If there is no simple way or pattern to help you decide between what is right and what is wrong, then you boss has to learn to live with reality and disappointment.&amp;nbsp; Quality control at the start would have been the only way to save time.&amp;nbsp; Screwed up data is always a time suck if there is no pattern to the error and each error has to be inspected individually.&amp;nbsp; In severe cases, the data has to be discarded, because the value of the data is not worth the time it would take to clean up the mess.&amp;nbsp; Garbage in/garbage out exempts no one from its effects, not even your boss.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 14:26:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691353#M22901</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-08-01T14:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691354#M22902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Even if the Spatial Join did not include the SWIS points that fell outside the SWIS bounaries, they can be easily selected by selecting all of the points inside the boundary and then switching the selection.&amp;nbsp; Then Select from the current Selection where the SWIS value is supposed to be inside your area.&amp;nbsp; A join on the SWIS code to the boundaries can tell you that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, no programming is needed, just some willingness to work it out in a logical manner.&amp;nbsp; You already have the abilities to find all of the errors at this stage.&amp;nbsp;&amp;nbsp; Now you just need to tell me more about what information you have that would help you decide which aspect of the point data you should believe: the SWIS code or the point location.&amp;nbsp; How would you decide that?&amp;nbsp; I am assuming there has to be some other information connected with the point that would tell you more about where it should end up.&amp;nbsp; If not, then what basis would you use to decide whether or not to trust the code or the point location for any given example error?&amp;nbsp; Walk me through the information available to you that you could check to make that decision.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be findng this helpful and giving me at least up vote somewhere for my responses.&amp;nbsp; They are on target for your problem.&amp;nbsp; Click the up arrow on the right hand side of one of my posts to give me a point, assuming you agree.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 14:49:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691354#M22902</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-08-01T14:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691355#M22903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually, thinking about your problem I wonder whether the SWIS boundaries changed during that 30+ years.&amp;nbsp; If they did that could account for the errors.&amp;nbsp; Are you observing errors only on older job data?&amp;nbsp; If so, then perhaps researching the previous boundaries might make it clear that the points are correctly located and just need to be updated to the current SWIS codes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the errors are spread out over all years, then the problem is likely to be either data entry input errors (transposing digits or misreading hand written numbers that can appear similar like 5/6 or 8/9 or 2/7 for example), or perhaps some other pattern.&amp;nbsp; Discovering the patterns to the errors is key to selecting and fixing them quickly, and probably does not require examining each individual subarea to sort them out.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 15:47:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691355#M22903</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-08-01T15:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691356#M22904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Actually, thinking about your problem I wonder whether the SWIS boundaries changed during that 30+ years.&amp;nbsp; If they did that could account for the errors.&amp;nbsp; Are you observing errors only on older job data?&amp;nbsp; If so, then perhaps researching the previous boundaries might make it clear that the points are correctly located and just need to be updated to the current SWIS codes.&lt;BR /&gt;&lt;BR /&gt;If the errors are spread out over all years, then the problem is likely to be either data entry input errors (transposing digits or misreading hand written numbers that can appear similar like 5/6 or 8/9 or 2/7 for example), or perhaps some other pattern.&amp;nbsp; Discovering the patterns to the errors is key to selecting and fixing them quickly, and probably does not require examining each individual subarea to sort them out.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The errors are 100% on our end involving data entry. We've already discovered a few patterns in errors, and yes the SWIS codes have changed. The list I'm using is the old SWIS codes, the SWIS codes I've used in my examples are the new ones.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I'm finally getting it. However, I would have to go through and make a polygon layer for all the SWIS codes that I would be using which is going to take some time, or could I bypass that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've only been using one town as an experiment&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 16:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691356#M22904</guid>
      <dc:creator>ChrisHutsko</dc:creator>
      <dc:date>2013-08-01T16:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691357#M22905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How would you format your excel file of all jobs and polygon file of SWIS codes in order to have a universal attribute table? That way maybe I could do this better&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 16:41:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691357#M22905</guid>
      <dc:creator>ChrisHutsko</dc:creator>
      <dc:date>2013-08-01T16:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691358#M22906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The errors are 100% on our end involving data entry. We've already discovered a few patterns in errors, and yes the SWIS codes have changed. The list I'm using is the old SWIS codes, the SWIS codes I've used in my examples are the new ones.&lt;BR /&gt;&lt;BR /&gt;I think I'm finally getting it. However, I would have to go through and make a polygon layer for all the SWIS codes that I would be using which is going to take some time, or could I bypass that?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that you are now at least able to select the errors and that is helping you detect the error patterns.&amp;nbsp; By the way, for the correction process I would actually create another set of SWIS code, X Coordinate and Y Coordinate fields called SWIS_NEW X_NEW, and Y_NEW and initially populate them with the original point values for these fields.&amp;nbsp; Then leave the old fields alone and update these new fields.&amp;nbsp; If you decide you made a mistake in updating you can restore the original values from the old fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any information, such as the number series of the Job codes, that would help you select entries made before the boundaries changed?&amp;nbsp; If so then you could isolate those jobs and assume the point was correct, but that the SWIS code is out of date needs to be updated based on the current boundary it falls within.&amp;nbsp; Then you could overwrite the SWIS_NEW field with the SWIS values obtained from the boundary join.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can select this set of jobs you can also create a rough old boundary shape from the points by creating the Convex Hull shape using the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000003q000000"&gt;Minimum Bounding Geometry&lt;/A&gt;&lt;SPAN&gt; and with the grouping option on the old SWIS number.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also am confused about the SWIS boundaries you have.&amp;nbsp; Are they the new boundaries or the old boundaries?&amp;nbsp; I would have thought you had the new boundaries, but the old codes in the points.&amp;nbsp; Is that correct?&amp;nbsp; If so, then wouldn't you wan the codes to match the current boundaries?&amp;nbsp; What SWIS code do you want the points to have, new or old?&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What format are the new boundaries shown on?&amp;nbsp; Only a paper map?&amp;nbsp; You could scan a paper map and convert it to lines with Photoshop trace and bring it into ArcGIS as a CAD file to clean up.&amp;nbsp; It will be far from perfect, but a good enough start to get the job done.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 16:57:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691358#M22906</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-08-01T16:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691359#M22907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I hope that you are now at least able to select the errors and that is helping you detect the error patterns.&amp;nbsp; By the way, for the correction process I would actually create another set of SWIS code, X Coordinate and Y Coordinate fields called SWIS_NEW X_NEW, and Y_NEW and initially populate them with the original point values for these fields.&amp;nbsp; Then leave the old fields alone and update these new fields.&amp;nbsp; If you decide you made a mistake in updating you can restore the original values from the old fields.&lt;BR /&gt;&lt;BR /&gt;Is there any information, such as the number series of the Job codes, that would help you select entries made before the boundaries changed?&amp;nbsp; If so then you could isolate those jobs and assume the point was correct, but that the SWIS code is out of date needs to be updated based on the current boundary it falls within.&amp;nbsp; Then you could overwrite the SWIS_NEW field with the SWIS values obtained from the boundary join.&lt;BR /&gt;&lt;BR /&gt;If you can select this set of jobs you can also create a rough old boundary shape from the points by creating the Convex Hull shape using the &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000003q000000"&gt;Minimum Bounding Geometry&lt;/A&gt; and with the grouping option on the old SWIS number.&lt;BR /&gt;&lt;BR /&gt;I also am confused about the SWIS boundaries you have.&amp;nbsp; Are they the new boundaries or the old boundaries?&amp;nbsp; I would have thought you had the new boundaries, but the old codes in the points.&amp;nbsp; Is that correct?&amp;nbsp; If so, then wouldn't you wan the codes to match the current boundaries?&amp;nbsp; What SWIS code do you want the points to have, new or old?&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;What format are the new boundaries shown on?&amp;nbsp; Only a paper map?&amp;nbsp; You could scan a paper map and convert it to lines with Photoshop trace and bring it into ArcGIS as a CAD file to clean up.&amp;nbsp; It will be far from perfect, but a good enough start to get the job done.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't easily convert from the old to the new and I'm still not able to see the errors through spatial join. I have literally no idea what is wrong at this point which is beyond frustrating and is why I think it's best I just start over with a correctly formatted excel file&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 17:07:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691359#M22907</guid>
      <dc:creator>ChrisHutsko</dc:creator>
      <dc:date>2013-08-01T17:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691360#M22908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How would you format your excel file of all jobs and polygon file of SWIS codes in order to have a universal attribute table? That way maybe I could do this better&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know enough about the two to tell you other than that I would import the Excel file to a file geodatabase table and bring the boundaries into a file geodatabase table.&amp;nbsp; I hate working in GIS with shapefiles/dbf tables/Excel tables and love fgdb performance and stability.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as attributes it is important to parse the SWIS code into its own field so you can do attribute joins between the points and the boundaries.&amp;nbsp; A screen shot I can read of the table views of each would be nice to see.&amp;nbsp; You may need to clean up field names and reproject the points to match the boundaries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Screen shot the Spatial Join tool set up you used also please.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 17:09:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691360#M22908</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-08-01T17:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691361#M22909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I don't know enough about the two to tell you other than that I would import the Excel file to a file geodatabase table and bring the boundaries into a file geodatabase table.&amp;nbsp; I hate working in GIS with shapefiles/dbf tables/Excel tables and love fgdb performance and stability.&lt;BR /&gt;&lt;BR /&gt;As far as attributes it is important to parse the SWIS code into its own field so you can do attribute joins between the points and the boundaries.&amp;nbsp; A screen shot I can read of the table views of each would be nice to see.&amp;nbsp; You may need to clean up field names and reproject the points to match the boundaries.&lt;BR /&gt;&lt;BR /&gt;Screen shot the Spatial Join tool set up you used also please.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would have to create a polygon of the boundaries, which would take a while, unless I can just edit the shapefiles I have right now to assign them their SWIS code easily. I've been using state/county/city/town/village shapefiles that I've downloaded from NYS GIS clearing house, and added the SWIS code to the town I was experimenting with. Here's a SS of the table I've been using that I just converted to a geodatabase table. The "OBJECTID *" was added by ESRI, "ID__" was randomly assigned by me, "FILE" is what we have it stored as (important), SWIS_Code is self-explanatory (obviously in this SS these ones are wrong and need to be fixed) and the GPS coordinates with 2 more comment fields.[ATTACH=CONFIG]26396[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 17:25:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691361#M22909</guid>
      <dc:creator>ChrisHutsko</dc:creator>
      <dc:date>2013-08-01T17:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691362#M22910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I would have to create a polygon of the boundaries, which would take a while, unless I can just edit the shapefiles I have right now to assign them their SWIS code easily. I've been using state/county/city/town/village shapefiles that I've downloaded from NYS GIS clearing house, and added the SWIS code to the town I was experimenting with. Here's a SS of the table I've been using that I just converted to a geodatabase table. The "OBJECTID *" was added by ESRI, "ID__" was randomly assigned by me, "FILE" is what we have it stored as (important), SWIS_Code is self-explanatory (obviously in this SS these ones are wrong and need to be fixed) and the GPS coordinates with 2 more comment fields.[ATTACH=CONFIG]26396[/ATTACH]&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I actually have no idea what SWIS stands for or how it relates to jurisdictional boundaries.&amp;nbsp; How well do the layers you have downloaded conform to the actual SWIS boundaries you would need to create?&amp;nbsp; For example, can you create an SWIS field in the town layer and assign a SWIS code each town in a reasonable amount of time?&amp;nbsp; If SWIS boundaries are made up of multiple towns you could dissolve the towns to create a new SWIS layer with one polygon per SWIS area.&amp;nbsp; How many SWIS areas do you need to create total?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lets say that an SWIS is made up of several villages that are next to each other.&amp;nbsp; You can manually select the group of villages that fall within an SWIS boundary and fill them all in with the Attribute editor fairly easily.&amp;nbsp;&amp;nbsp; You only have to type the SWIS number once for all of the selected villages if you use the Attributes dialog correctly by selecting the layer name, not the individual features.&amp;nbsp; Assuming you are dealing with under a 1000 villages to group into a few 100 SWIS boundaries, that is doable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;perfection is not the aim, just good enough to get this task done.&amp;nbsp; Spend more time on the boundaries later, since it looks like this layer is important to you ultimately.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 17:44:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691362#M22910</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-08-01T17:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691363#M22911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By the way, when you did the Spatial Join, make sure no points were selected.&amp;nbsp; The Spatial Join would only use selected points, so if you had selected the points inside the boundaries, only they would end up in the output points.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 17:45:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691363#M22911</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-08-01T17:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691364#M22912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;SWIS codes were set up for tax purposes by New York State to easily identify cities/towns/villages by their own code. A SWIS Code's boundary is the boundary of the city/town/village it is assigned to. The code's boundary won't have multiple city/town/village just the one it is assigned too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a six digit code formated like this: XX XX XX (no spaces). Where the first double X would be the county, the second double X would be the city/town and the last double XX would be the village. If you don't have a village within the city/town technically we only use the first four digits then.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So since I was doing Carmel located in Putnam county, the *OLD* code is 4001, where 40 is Putnam County's code and 01 is Carmel's code inside Putnam County. There is only one 4001 in New York and it's extent is the extent in which Carmel's town boundary ends.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's generally not important/never used but my boss and I feel it's the best way to solve the issue we have with the two errors I get when I plot all the jobs since we've been assigning every job its appropiate SWIS code since the company started back in the mid 70s.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I'm 99.9% sure I had nothing selected when I did the spatial join tool multiple times&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 17:59:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691364#M22912</guid>
      <dc:creator>ChrisHutsko</dc:creator>
      <dc:date>2013-08-01T17:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691365#M22913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;SWIS codes were set up for tax purposes by New York State to easily identify cities/towns/villages by their own code. A SWIS Code's boundary is the boundary of the city/town/village it is assigned to. The code's boundary won't have multiple city/town/village just the one it is assigned too.&lt;BR /&gt;&lt;BR /&gt;It's a six digit code formated like this: XX XX XX (no spaces). Where the first double X would be the county, the second double X would be the city/town and the last double XX would be the village. If you don't have a village within the city/town technically we only use the first four digits then.&lt;BR /&gt;&lt;BR /&gt;So since I was doing Carmel located in Putnam county, the *OLD* code is 4001, where 40 is Putnam County's code and 01 is Carmel's code inside Putnam County. There is only one 4001 in New York and it's extent is the extent in which Carmel's town boundary ends.&lt;BR /&gt;&lt;BR /&gt;It's generally not important/never used but my boss and I feel it's the best way to solve the issue we have with the two errors I get when I plot all the jobs since we've been assigning every job its appropiate SWIS code since the company started back in the mid 70s.&lt;BR /&gt;&lt;BR /&gt;Also I'm 99.9% sure I had nothing selected when I did the spatial join tool multiple times&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Got it.&amp;nbsp; So do these imported layers have the codes already?&amp;nbsp; If not would you know what they should be?&amp;nbsp; Is there a pattern to how they got assigned?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If not I would start with the Counties and assign them their County Code in a separate County Code feild.&amp;nbsp; Next just create the City_Town code field in both the Cities and the Towns layers and fill just that part in (do not create a County Code field).&amp;nbsp; For the Villages Layer just assign the Villages part of the Code (do not create a County or City_Town code field).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the Integrate tool on each layer against the others to match fuzzy boundaries better to avoid slivers.&amp;nbsp; Spatial Join the Counties to the Cities, Towns layers (County is the Join layer).&amp;nbsp; Spatial Join the Cities and Towns layers that were Spatially Joined to the Counties to the Villages layer (Cities and Towns are the Join Layers).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Merge the Counties, with the Spatial Joined Cities, Towns and Villages into one layer with the Merge Tool.&amp;nbsp; Make sure that there is only one field each with the County code, City_Town code and Village code.&amp;nbsp; If there are two or more fields with these values let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now Intersect that merged layer with the Integrated Counties layer again.&amp;nbsp; This will cause the layers to cut against each other.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now Select all Village code values that are null with Select by Attribute.&amp;nbsp; Then select from the current selection using Select by Location against the Integrated Villages layer with a small negative buffer.&amp;nbsp; Delete these polygons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now Select all City_Town code values that are null with Select by Attribute.&amp;nbsp; Then select from the current selection using Select by Location against the Integrated Cities layer with a small negative buffer.&amp;nbsp; Delete these polygons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now Select all City_Town code values that are null with Select by Attribute.&amp;nbsp; Then select from the current selection using Select by Location against the Integrated Towns layer with a small negative buffer.&amp;nbsp; Delete these polygons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That should be your best way to create your SWIS layer as far as I know given your available license tools.&amp;nbsp; If you had the ArcInfo/Advanced license you would use Erase and Union instead of most of these last steps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 18:30:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691365#M22913</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2013-08-01T18:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: SWIS code help</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691366#M22914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Got it.&amp;nbsp; So do these imported layers have the codes already?&amp;nbsp; If not would you know what they should be?&amp;nbsp; Is there a pattern to how they got assigned?&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;If not I would start with the Counties and assign them their County Code in a separate County Code feild.&amp;nbsp; Next just create the City_Town code field in both the Cities and the Towns layers and fill just that part in (do not create a County Code field).&amp;nbsp; For the Villages Layer just assign the Villages part of the Code (do not create a County or City_Town code field).&lt;BR /&gt;&lt;BR /&gt;Use the Integrate tool on each layer against the others to match fuzzy boundaries better to avoid slivers.&amp;nbsp; Spatial Join the Counties to the Cities, Towns and Villages layers (County is the Join layer).&amp;nbsp; Spatial Join the Cities and Towns layers to the Villages layer (Cities and Towns are the Join Layers).&lt;BR /&gt;&lt;BR /&gt;Merge the Counties, with the Spatial Joined Cities, Towns and Villages into one layer with the Merge Tool.&amp;nbsp; Now Intersect that merged layer with the Integrated Counties layer again.&amp;nbsp; This will cause the layers to cut against each other.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Now Select all Village code values that are null with Select by Attribute.&amp;nbsp; Then select from the current selection using Select by Location against the Integrated Villages layer with a small negative buffer.&amp;nbsp; Delete these polygons.&lt;BR /&gt;&lt;BR /&gt;Now Select all City_Town code values that are null with Select by Attribute.&amp;nbsp; Then select from the current selection using Select by Location against the Integrated Cities layer with a small negative buffer.&amp;nbsp; Delete these polygons.&lt;BR /&gt;&lt;BR /&gt;Now Select all City_Town code values that are null with Select by Attribute.&amp;nbsp; Then select from the current selection using Select by Location against the Integrated Towns layer with a small negative buffer.&amp;nbsp; Delete these polygons.&lt;BR /&gt;&lt;BR /&gt;That should be your best way to create your SWIS layer as far as I know given your available license tools.&amp;nbsp; If you had the ArcInfo/Advanced license you would use Erase and Union instead of most of these last steps.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Alright, I'll do all this first thing tomorrow and see how it comes out&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for all the help, it's much appreciated&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 18:59:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/swis-code-help/m-p/691366#M22914</guid>
      <dc:creator>ChrisHutsko</dc:creator>
      <dc:date>2013-08-01T18:59:56Z</dc:date>
    </item>
  </channel>
</rss>

