<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=818063516-03042006>In ArcToolBox, under Analysis Tool, find the
Near tool.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=818063516-03042006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=818063516-03042006>You'll need to export the layer you want to work with
to a shapefile first, as the tool will need to write values to layer's
table, and can't if the layer is coming from ArcSDE (where you don't have write
access).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=818063516-03042006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=818063516-03042006>Pull up the Near tool, pick your layers to work with,
set a maximum distance, run the tool, and your layer now contains 2
new fields -- NEAR_FID (which is the Feature ID from the target layer --
and which you join back target layer table to add more attributes
to your results) and NEAR_DIST. For each features that don't have
a target within the buffer you specified, the NEAR_FID will be -1 and the
NEAR_DIST will be 0.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=818063516-03042006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=818063516-03042006>Good luck,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=818063516-03042006></SPAN></FONT><FONT face=Arial size=2><SPAN
class=818063516-03042006><SPAN lang=en-us><FONT face="Courier New"
size=2>Richard Butgereit </FONT></SPAN><BR><SPAN lang=en-us><FONT
face="Courier New" size=2>Environmental Manager</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face="Courier New" size=2>GIS Coordinator, WRM, Florida DEP
</FONT></SPAN><BR><SPAN lang=en-us><FONT face="Courier New"
size=2>richard.butgereit@dep.state.fl.us </FONT></SPAN><BR><SPAN
lang=en-us><FONT face="Courier New" size=2>Office: (850) 245-8531 SC 205-8531
</FONT></SPAN><BR><SPAN lang=en-us><FONT face="Courier New" size=2>Mobile: (850)
339-9084</FONT> </SPAN></DIV></SPAN></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> gis-l-bounces@lists.dep.state.fl.us
[mailto:gis-l-bounces@lists.dep.state.fl.us] <B>On Behalf Of </B>Pienta,
David<BR><B>Sent:</B> Monday, April 03, 2006 12:10 PM<BR><B>To:</B>
gis-l@lists.dep.state.fl.us<BR><B>Subject:</B> gis-l: Searching based on
location<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=957460616-03042006><FONT face=Arial size=2>I have 2
layers. One called PCTS (petroleum cleanup sites) and another called
drycleaners. I turned both on and I wanted to get a list of all petro
sites within 500 ft of a dry cleaner. Not a problem. I did the
search within a radius in arcmap and got the list. However, my end user
wants to coordinate each petro site to which dryclean site they were close
to. Is there any way to see a one to one relationship where I can list the
petro site and then on the same record in the table see the dryclean site it was
near? </FONT></SPAN></DIV>
<DIV><SPAN class=957460616-03042006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=957460616-03042006><FONT face=Arial
size=2>-David</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV align=left><FONT face=Arial
size=2>------------------------------------------------------------------------------------</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>David Pienta</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Applications Developer
Consultant</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Keane Federal Systems / </FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Florida Dept. of Environmental
Protection</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>(850) 245-8835</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Fax (850) 412-0694</FONT></DIV>
<DIV align=left><FONT face=Arial
size=2>david.pienta@dep.state.fl.us</FONT></DIV>
<DIV> </DIV></BODY></HTML>