shrug-l: Autobuffering(?!?!?)

Sykes, John John.Sykes@dep.state.fl.us
Thu, 29 Sep 2005 13:11:47 -0400


This is a multi-part message in MIME format.

------_=_NextPart_001_01C5C518.DFFE0823
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

A-ha!!!  Thanks all!!!
=20
The Point Distance tool works (see below).  One minor problem -- since =
you
are comparing a shapefile to itself, it selects every station, since the
distance from that station to itself is "0".  However, since it creates =
an
output table with the distance in a field, if you then set up a query =
and
select those locations where "DISTANCE <> 0", you get a table with the
station FID# and the other station or stations FID# that fulfill the
specified distance requirements.  Runs fast too.
=20
Several of the other solutions suggested all had the fatal flaw that the
shapefile could not be compared to itself.  Or if you created another
instance of the shapefile, you got a 100% match (again, because the =
distance
from something to itself is "0").  The Point Distance tool worked, =
however,
since it created a field in the table with the distance in it, which =
could be
filtered for those cases where the distance =3D 0, as I said above, the =
other
proposed solutions didn't have this key feature.

-- John=20

  _____ =20

From: Geographic Systems LLC [mailto:info@geographicsystems.com]=20
Sent: Thursday, September 29, 2005 12:47 PM
To: Sykes, John
Subject: RE: shrug-l: Autobuffering(?!?!?)



Hi John,

=20

There are two tools in the Analysis Tools which may help - Near, and =
Point
Distance.  These are available at the Arcinfo level (not Arcview or
ArEditor).  I think Point Distance would work well in this case.

=20

Near will tell you the distance from every feature in a point layer to =
the
nearest feature in another layer.=20

=20

Point Distance will tell you the distance from every feature in a point =
layer
to every other point in another layer, within a given radius.  You could =
then
select every distance less than 2 miles, and these would be your =
candidates
for closure.

=20

The "Point Distance" tool allows you to specify the same layer for
in_features and near_features.  The Near function may as well.  If not, =
you
can always load the same layer twice into the Table of Contents (or cut =
and
paste it), and effectively have two layers (in_features and =
near_features)
pointing to the same source dataset.

=20

If you don't have Arcinfo license level, you can load the same layer =
twice
and use the Select by Location (under Selection pulldown menu) and =
specify a
2 mile radius.

=20

Lastly, you could create a polygon feature class, use the buffer tool to =
put
2 mile buffers into it, and then use the Select by Location tool.  =
Creating a
feature class to hold the 2 mile radius polygons is useful if you want =
to
store the buffers somewhere to draw the radius on a map.

=20

Let me know if this helps.  There may be other methods as well...

=20

Miguel Garriga

Geographic Systems, LLC

www.geographicsystems.com

407-261-0451

cel 321-279-6019

  _____ =20

From: shrug-l-admin@lists.dep.state.fl.us
[mailto:shrug-l-admin@lists.dep.state.fl.us] On Behalf Of Sykes, John
Sent: Thursday, September 29, 2005 11:54 AM
To: shrug-L@lists.dep.state.fl.us
Subject: shrug-l: Autobuffering(?!?!?)

=20

Here's a hypothetical question.=20

It's easy to select a layer, create a buffer around it's features and =
select
the information from other layers that intersects or falls completely =
within
that buffer (you can use Select by Location, Edit Toolbar or the Buffer
Wizard).

But how about buffering a layer within itself?=20

Confused?  Here's an example of what I am looking for (purely =
theoretical).=20

Suppose I have a shapefile with points representing all the 100 Fire =
Stations
in a major city.  The city manager wants to know which Fire Stations are
within 2 miles of another Fire Station, with the thought that some of =
these
redundant stations could be closed and the resources better utilized.  =
How do
I create a buffer that would show this? or is using buffers even the =
right
way to go about it?  Keep in mind that I am not a programmer, so I'm not
looking for a complicated script or Python program to do this.  I'm =
primarily
looking for interactive ways of doing this with built-in ArcView/ArcInfo
tools/commands.

Suggestions are appreciated and, trust me, no Fire Stations are actually
subject to closure, I just thought that it was a good example.

-- John=20


------_=_NextPart_001_01C5C518.DFFE0823
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20
"urn:schemas-microsoft-com:vml" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD><TITLE>Autobuffering(?!?!?)=
</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2722" name=3DGENERATOR><!--[if !mso]>
<STYLE>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</STYLE>
<![endif]-->
<STYLE>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"Monotype Corsiva";
	panose-1:3 1 1 1 1 2 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=3DEN-US vLink=3Dpurple link=3Dblue>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D4><SPAN=20
class=3D488070017-29092005>A-ha!!!&nbsp; Thanks =
all!!!</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D4><SPAN=20
class=3D488070017-29092005></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D4><SPAN=20
class=3D488070017-29092005>The Point Distance tool works (see =
below).&nbsp; One=20
minor problem -- since you are comparing a shapefile to itself, it =
selects=20
<STRONG>every</STRONG> station, since the distance from that station to =
itself=20
is "0".&nbsp; <STRONG>However</STRONG>, since it creates an output table =
with=20
the distance in a field, if you then set up a query and select those =
locations=20
where "DISTANCE &lt;&gt; 0", you get a table&nbsp;with the station =
FID#&nbsp;and=20
the other station or stations&nbsp;FID# that fulfill the specified =
distance=20
requirements.&nbsp; Runs fast too.</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D4><SPAN=20
class=3D488070017-29092005></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D4><SPAN=20
class=3D488070017-29092005>Several of the other solutions suggested all =
had the=20
fatal flaw that the shapefile could not be compared to itself.&nbsp; Or =
if you=20
created another instance of the shapefile, you got a 100% match (again, =
because=20
the distance from something to itself is "0").&nbsp; The Point Distance =
tool=20
worked, however, since it created&nbsp;a field in the table with the =
distance in=20
it, which could be filtered for those cases where the distance =3D 0, as =
I said=20
above, the other proposed solutions didn't have this key=20
feature.</SPAN></FONT></DIV>
<P><B><FONT face=3D"Monotype Corsiva" size=3D5>-- John</FONT></B> </P>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> Geographic Systems LLC=20
[mailto:info@geographicsystems.com] <BR><B>Sent:</B> Thursday, September =
29,=20
2005 12:47 PM<BR><B>To:</B> Sykes, John<BR><B>Subject:</B> RE: shrug-l:=20
Autobuffering(?!?!?)<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=3DSection1>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi=20
John,<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">There are two =
tools in=20
the Analysis Tools which may help &#8211; Near, and Point =
Distance.&nbsp; These are=20
available at the Arcinfo level (not Arcview or ArEditor).&nbsp; I think =
Point=20
Distance would work well in this case.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Near will =
tell you the=20
distance from every feature in a point layer to the nearest feature in =
another=20
layer. <o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Point =
Distance will=20
tell you the distance from every feature in a point layer to every other =
point=20
in another layer, within a given radius.&nbsp; You could then select =
every=20
distance less than 2 miles, and these would be your candidates for=20
closure.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">The =
&#8220;Point Distance&#8221;=20
tool allows you to specify the same layer for in_features and=20
near_features.&nbsp; The Near function may as well.&nbsp; If not, you =
can always=20
load the same layer twice into the Table of Contents (or cut and paste =
it), and=20
effectively have two layers (in_features and near_features) pointing to =
the same=20
source dataset.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">If you =
don&#8217;t have=20
Arcinfo license level, you can load the same layer twice and use the =
Select by=20
Location (under Selection pulldown menu) and specify a 2 mile=20
radius.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Lastly, you =
could=20
create a polygon feature class, use the buffer tool to put 2 mile =
buffers into=20
it, and then use the Select by Location tool.&nbsp; Creating a feature =
class to=20
hold the 2 mile radius polygons is useful if you want to store the =
buffers=20
somewhere to draw the radius on a map.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Let me know =
if this=20
helps.&nbsp; There may be other methods as =
well&#8230;<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">&nbsp;<o:p></o:p></SPAN></FONT></P>
<DIV>
<DIV>
<P class=3DMsoNormal><EM><I><FONT face=3DArial color=3Dnavy =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Miguel=20
Garriga</SPAN></FONT></I></EM><FONT color=3Dnavy><SPAN=20
style=3D"COLOR: navy"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Geographic =
Systems,=20
LLC</SPAN></FONT><FONT color=3Dnavy><SPAN=20
style=3D"COLOR: navy"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><A=20
href=3D"http://www.geographicsystems.com">www.geographicsystems.com</A></=
SPAN></FONT><FONT=20
color=3Dnavy><SPAN style=3D"COLOR: navy"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">407-261-0451</SPAN></FONT><FONT=20
color=3Dnavy><SPAN style=3D"COLOR: navy"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">cel=20
321-279-6019</SPAN></FONT><o:p></o:p></P></DIV></DIV>
<DIV>
<DIV class=3DMsoNormal style=3D"TEXT-ALIGN: center" align=3Dcenter><FONT =

face=3D"Times New Roman" size=3D3><SPAN style=3D"FONT-SIZE: 12pt">
<HR tabIndex=3D-1 align=3Dcenter width=3D"100%" SIZE=3D2>
</SPAN></FONT></DIV>
<P class=3DMsoNormal><B><FONT face=3DTahoma size=3D2><SPAN=20
style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">From:</SPAN></FONT></B><FONT=20
face=3DTahoma size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">=20
shrug-l-admin@lists.dep.state.fl.us =
[mailto:shrug-l-admin@lists.dep.state.fl.us]=20
<B><SPAN style=3D"FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Sykes,=20
John<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, =
September=20
29, 2005 11:54 AM<BR><B><SPAN style=3D"FONT-WEIGHT: bold">To:</SPAN></B> =

shrug-L@lists.dep.state.fl.us<BR><B><SPAN=20
style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B> shrug-l:=20
Autobuffering(?!?!?)</SPAN></FONT><o:p></o:p></P></DIV>
<P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
style=3D"FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P><FONT face=3DArial size=3D4><SPAN=20
style=3D"FONT-SIZE: 13.5pt; FONT-FAMILY: Arial">Here's a hypothetical=20
question.</SPAN></FONT> <o:p></o:p></P>
<P><FONT face=3DArial size=3D4><SPAN=20
style=3D"FONT-SIZE: 13.5pt; FONT-FAMILY: Arial">It's easy to select a =
layer,=20
create a buffer around it's features and select the information from =
other=20
layers that intersects or falls completely within that buffer (you can =
use=20
Select by Location, Edit Toolbar or the Buffer=20
Wizard).</SPAN></FONT><o:p></o:p></P>
<P><FONT face=3DArial size=3D4><SPAN=20
style=3D"FONT-SIZE: 13.5pt; FONT-FAMILY: Arial">But how about buffering =
a layer=20
within itself?</SPAN></FONT> <o:p></o:p></P>
<P><FONT face=3DArial size=3D4><SPAN=20
style=3D"FONT-SIZE: 13.5pt; FONT-FAMILY: Arial">Confused?&nbsp; Here's =
an example=20
of what I am looking for (purely theoretical).</SPAN></FONT> =
<o:p></o:p></P>
<P><FONT face=3DArial size=3D4><SPAN=20
style=3D"FONT-SIZE: 13.5pt; FONT-FAMILY: Arial">Suppose I have a =
shapefile with=20
points representing all the 100 Fire Stations in a major city.&nbsp; The =
city=20
manager wants to know which Fire Stations are within 2 miles of another =
Fire=20
Station, with the thought that some of these redundant stations could be =
closed=20
and the resources better utilized.&nbsp; How do I create a buffer that =
would=20
show this? or is using buffers even the right way to go about it?&nbsp; =
Keep in=20
mind that I am not a programmer, so I'm not looking for a complicated =
script or=20
Python program to do this.&nbsp; I'm primarily looking for interactive =
ways of=20
doing this with built-in ArcView/ArcInfo=20
tools/commands.</SPAN></FONT><o:p></o:p></P>
<P><FONT face=3DArial size=3D4><SPAN=20
style=3D"FONT-SIZE: 13.5pt; FONT-FAMILY: Arial">Suggestions are =
appreciated and,=20
trust me, no Fire Stations are actually subject to closure, I just =
thought that=20
it was a good example.</SPAN></FONT><o:p></o:p></P>
<P><B><FONT face=3D"Monotype Corsiva" size=3D5><SPAN=20
style=3D"FONT-WEIGHT: bold; FONT-SIZE: 18pt; FONT-FAMILY: 'Monotype =
Corsiva'">--=20
John</SPAN></FONT></B> <o:p></o:p></P></DIV></BODY></HTML>

------_=_NextPart_001_01C5C518.DFFE0823--