<div>All,<br><br>I think I'm getting old, and missed something, but if the person wants to create a dll then he must be in some form of code.&nbsp; If that is the case then he should grab the envelope property (or bnd, extent in the old days/ways) of surface and either add a percentage to the X and Y extents if the cost surface will vary in size, or just the desired value if the surface will be fairly constant.<br><br><div>Thanks,<br><br>Eric&nbsp;Songer<br>URS&nbsp;Corporation<br>1625&nbsp;Summit&nbsp;Lake&nbsp;Drive<br>Tallahassee,&nbsp;FL&nbsp;32317<br>Direct:&nbsp;850.402.6327<br>Main:&nbsp;800.842.9671&nbsp;ext.&nbsp;327<br><a href="mailto:eric_songer@urscorp.com">eric_songer@urscorp.com</a><br><div><br></div><font color="#990099">-----shrug-l-bounces@lists.dep.state.fl.us wrote: -----<br><br></font><blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">To: "'Swett, Bob'" &lt;rswett@ufl.edu&gt;, &lt;shrug-l@lists.dep.state.fl.us&gt;<br>From: "Yurong Tan" &lt;tany@gisgo.com&gt;<br>Sent by: shrug-l-bounces@lists.dep.state.fl.us<br>Date: 06/08/2007 04:20PM<br>cc: 'gunnsys' &lt;gunnsys@att.net&gt;<br>Subject: RE: shrug-l: Spatial Extent problem using the cost distance function        with point and raster datasets.<br><br>



<div class="Section1">
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">You can create a feature class in a PGDB with
the same type of features and projection as the shapefile, but using a new extent
(Xmin, Ymin, Xmax, Ymax).&nbsp; You need to select the new extent in a way that
will ensure the existing shapefile will fit into the center area of the new extent
while leaving enough space (spatial extents) for new features to expand in all four
directions.&nbsp; Then you can import the features in the existing shapefile to
the new feature class or copy the features and paste them to the new feature
class.&nbsp; This is probably the simplest, yet sure way to solve the
problem.&nbsp; Copying projection file around may or may not work depending on
the relative extents of the shapefile to be copied. &nbsp;&nbsp;
</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;
</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Also keep in mind that extending/expanding
feature layer extent is normally done at the expense of loss positional
accuracy because there is a limit on the number of coordinate units in PGDB/SDE.&nbsp;
Normally, this limit is not a concern as long as you are not dealing with
nation-wide data layers.
</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;
</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hope this helps.
</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;
</span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;
</span></font></p>
<p style="margin-left: 0.5in;" class="MsoNormal"><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">-----Original Message-----<br>
<b><span style="font-weight: bold;">From:
</span></b> shrug-l-bounces@lists.dep.state.fl.us
[mailto:shrug-l-bounces@lists.dep.state.fl.us] 
<b><span style="" font-weight:bold="">Sent:
</span></b> 
</span></font><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">Friday, June
 08, 2007
</span></font><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> 
</span></font><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">1:46 PM
</span></font><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"><br>
<b><span style="font-weight: bold;">To:
</span></b> Swett, Bob;
shrug-l@lists.dep.state.fl.us<br>
<b><span style="font-weight: bold;">Cc:
</span></b> gunnsys<br>
<b><span style="font-weight: bold;">Subject:
</span></b> RE: shrug-l: Spatial
Extent problem using the cost distancefunctionwith point and raster datasets. 
</span></font></p>
<p style="margin-left: 0.5in;" class="MsoNormal"><font face="Calibri" size="2"><span style="font-size: 11pt;">&nbsp;
</span></font></p>
<div>
<div>
<p style="margin-left: 0.5in;" class="MsoNormal"><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: blue;">There is a really easy
way to do it. 
</span></font></p>
<p style="margin-left: 0.5in;" class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" times="" new="" roman="">&nbsp;
</span></font></p>
<p style="margin-left: 0.5in;" class="MsoNormal"><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: blue;">-make a copy of the
shapefile (needs to be a shapefile- it it's a feature class export to a
shapefile)
</span></font></p>
<p style="margin-left: 0.5in;" class="MsoNormal"><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: blue;">-delete the&nbsp; .prj
file
</span></font></p>
<p style="margin-left: 0.5in;" class="MsoNormal"><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: blue;">-find or
make&nbsp;another shapefile that is the same projection but larger extent. for
instance, if I wanted one that was a little larger than seminole county, I
would get a SPFLE county file of all the florida counties, select seminole
and&nbsp;all the&nbsp;counties around seminole, and export them to a new
shapefile&nbsp;. 
</span></font></p>
<p style="margin-left: 0.5in;" class="MsoNormal"><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: blue;">-Import the projection
from the&nbsp;larger shapefile (the extent will come also)
</span></font></p>
<div>
<p style="margin-left: 0.5in;" class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" times="" new="" roman="">&nbsp;
</span></font></p>
</div>
<div>
<p style="margin-left: 0.5in;" class="MsoNormal"><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: blue;">you can also&nbsp;play
around&nbsp;with the extent settings,&nbsp; but that can be a little messy. I
advise doing it the easy way. 
</span></font></p>
</div>
<div>
<p style="margin-left: 0.5in;" class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" times="" new="" roman="">&nbsp;
</span></font></p>
</div>
<!-- Converted from text/rtf format -->
<p style="margin-left: 0.5in;"><font color="navy" face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial; color: navy;">Heather Wolfe<br>
Sr. GIS Analyst, Planning &amp; Development<br>
Seminole County Government<br>
1101 E. First St.<br>
Sanford, FL 32771<br><br>
Office 407-665-7378<br>
Fax 407-665-7412<br>
HWolfe@seminolecountyfl.gov<br>
www.seminolecountyfl.gov
</span></font></p>
<div>
<p style="margin-left: 0.5in;" class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" times="" new="" roman="">&nbsp;
</span></font></p>
</div>
<p style="margin-left: 0.5in;" class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" times="" new="" roman="">&nbsp;
</span></font></p>
<div style="margin-left: 0.5in; text-align: center;" class="MsoNormal" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" times="" new="" roman="">
<hr align="center" size="2" width="100%">
</span></font></div>
<p style="margin-right: 0in; margin-bottom: 12pt;" msonormal=""><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:
</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> Swett, Bob [mailto:rswett@ufl.edu]<br>
<b><span style="font-weight: bold;">Sent:
</span></b> Thursday, June 07, 2007 3:19
PM<br>
<b><span style="font-weight: bold;">To:
</span></b> shrug-l@lists.dep.state.fl.us<br>
<b><span style="font-weight: bold;">Cc:
</span></b> gunnsys<br>
<b><span style="font-weight: bold;">Subject:
</span></b> shrug-l: Spatial Extent
problem using the cost distance functionwith point and raster datasets. 
</span></font></p>
<p style="margin-left: 0.5in;" class="MsoNormal"><font face="Verdana" size="2"><span style="font-size: 10pt; font-family: Verdana;">A colleague is using the cost
distance function with a raster and a point dataset as inputs. The extent of
the point dataset seems to be controlling the output. How can he change the
extent (i.e., we want to extend some distance beyond the point dataset extent).
<u5:p></u5:p></span></font></p>
<p style="margin-left: 0.5in;" class="MsoNormal"><font face="Verdana" size="2"><span style="font-size: 10pt; font-family: Verdana;"><u5:p>&nbsp;
</u5:p></span></font></p>
<p style="margin-left: 0.5in;" class="MsoNormal"><font face="Verdana" size="2"><span style="font-size: 10pt; font-family: Verdana;">Any help is greatly appreciated
(he wants to embed this within a DLL).
<u5:p></u5:p></span></font></p>
<p style="margin-left: 0.5in;" class="MsoNormal"><font face="Verdana" size="2"><span style="font-size: 10pt; font-family: Verdana;"><u5:p>&nbsp;
</u5:p></span></font></p>
<p style="margin-left: 0.5in;" class="MsoNormal"><font face="Verdana" size="2"><span style="font-size: 10pt; font-family: Verdana;">Thanks
<u5:p></u5:p></span></font></p>
<p style="margin-left: 0.5in;" class="MsoNormal"><font face="Verdana" size="2"><span style="font-size: 10pt; font-family: Verdana;">Bob Swett
<u5:p></u5:p></span></font></p>
<p style="margin-right: 66pt; margin-left: 0.5in; margin-bottom: 0.0001pt;" class="MsoNormal"><b><font color="red" face="Arial" size="1"><span style="font-size: 6.5pt; font-family: Arial; color: red; font-weight: bold;">_____________________________________________________________________________________________________
</span></font></b><b><font face="Arial" size="1"><span style="font-size: 6.5pt; font-family: Arial;" arial="" size="1"><span style="font-size: 6.5pt; font-family: Arial;">|&nbsp; Coordinator&nbsp; |&nbsp; 
<b><span style="font-weight: bold;">Florida Sea Grant Boating and Waterway Management
Program&nbsp; 
</span></b>|&nbsp; 
<a href="http://www.flseagrant.org/">www.flseagrant.org
</a><u5:p></u5:p></span></span></font></b></p>
<p style="margin-right: 66.25pt; margin-left: 0.5in; margin-bottom: 0.0001pt;" class="MsoNormal"><b><font face="Arial" size="1"><span style="font-size: 6.5pt; font-family: Arial;">Assistant Professor | 
<b><span style="" margin-left:.5in="" class="MsoNormal"><font face="Arial" size="1"><span style="font-size: 6.5pt; font-family: Arial;"><ns0:address><ns0:Street>PO Box
</ns0:Street>
110405
</ns0:address>&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; 
<ns0:place><ns0:City>Gainesville
</ns0:City>,
<ns0:State>FL
</ns0:State> 
<ns0:PostalCode>32653
</ns0:PostalCode></ns0:place>&nbsp;&nbsp;&nbsp;
|&nbsp;&nbsp;&nbsp;&nbsp; 
</span></font><font face="Wingdings" size="1"><span style="font-size: 6.5pt; font-family: Wingdings;">(
</span></font><font color="black" face="Arial" size="1"><span style="font-size: 6.5pt; font-family: Arial; color: black;">:
</span></font><font face="Arial" size="1"><span style="font-size: 6.5pt; font-family: Arial;">352-392-6233&nbsp;&nbsp;&nbsp; 
</span></font><font face="Helvetica" size="1"><span style="font-size: 6.5pt; font-family: Helvetica;">|&nbsp;&nbsp;&nbsp;
Fax: 352-392-5113 
</span></font><font face="Arial" size="1"><span style="font-size: 6.5pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; 
</span></font><font face="Wingdings" size="1"><span style="font-size: 6.5pt; font-family: Wingdings;">*
</span></font><font face="Helvetica" size="1"><span style="font-size: 6.5pt; font-family: Helvetica;"> 
</span></font><font color="blue" face="Verdana" size="1"><span style="font-size: 6.5pt; font-family: Verdana; color: blue;"><a href="mailto:rswett@ufl.edu">rswett@ufl.edu
</a> 
</span></font><u5:p></u5:p></span></b></span></font></b></p>
</div>
<div>
<p style="margin-left: 0.5in;" class="MsoNormal"><b><font face="Arial" size="1"><b><font face="Courier New" size="1"><span style="font-size: 9pt;" courier="" new="">&nbsp;
</span></font></b></font></b></p>
</div>
<div>
<div>
<p style="margin-left: 0.5in;" class="MsoNormal"><b><font face="Arial" size="1"><b><font face="Courier New" size="1"><span style="font-size: 9pt;" courier="" new="">-****Florida has a very broad
Public Records Law. Virtually all written communications to or from State and
Local Officials and employees are public records available to the public and
media upon request. Seminole County policy does not differentiate between
personal and business emails. E-mail sent on the County system will be
considered public and will only be withheld from disclosure if deemed
confidential pursuant to State Law.****-
</span></font></b></font></b></p>
</div>
</div>
</div>
<div>
<p style="margin-left: 0.5in;" class="MsoNormal"><b><font face="Arial" size="1"><b><font face="Courier New" size="1"><span style="font-size: 9pt;" courier="" new="">&nbsp;
</span></font></b></font></b></p>
</div>
<div>
<div>
<p style="margin-left: 0.5in;" class="MsoNormal"><b><font face="Arial" size="1"><b><font face="Courier New" size="1"><span style="font-size: 9pt;" courier="" new="">-****Florida has a very broad
Public Records Law. Virtually all written communications to or from State and
Local Officials and employees are public records available to the public and
media upon request. Seminole County policy does not differentiate between
personal and business emails. E-mail sent on the County system will be
considered public and will only be withheld from disclosure if deemed
confidential pursuant to State Law.****-
</span></font></b></font></b></p>
</div>
</div>
</div>
<font face="monospace" size="3"><b><font face="Arial" size="1"><b>_______________________________________________<br>SHRUG-L mailing list<br>SHRUG-L@lists.dep.state.fl.us<br><a href="http://lists.dep.state.fl.us/mailman/listinfo/shrug-l">http://lists.dep.state.fl.us/mailman/listinfo/shrug-l</a><br></b></font></b></font>
</blockquote><br></div></div><BR><table border="0" cellpadding="0" cellspacing="0" width="610"><tr><td><FONT SIZE="1" COLOR=#4F4F4F FACE="Default Sans Serif"><br />This e-mail and any attachments are confidential. If you receive this message in error or are not the intended recipient&#44; you should not retain&#44; distribute&#44; disclose or use any of this information and you should destroy the e-mail and any attachments or copies.<br /></FONT></td></tr></table><br />