<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Joseph,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>A shapefile can hold any (and only one)&nbsp;of 
three types of object: point, line or polygon. The shape objects are stored in a 
sequential order of some sort (normally the order in which they have been 
created), and the DBF file holds the attribute in the same order. So the link 
between the spatial object and the attribute is simply sequential. I don't think 
it makes use of bounding rectangles (except if you create a spatial index, 
correct me if I'm wrong).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>If you are able to open up the DBF file in Excel, 
you will see it's just a table. The .shp and .shx file hold the spatial 
component for each row.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Hope this is what you meant.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Jacob</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-----Original Message-----<BR>From: UMN MapServer 
Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] On Behalf Of Joseph 
Norris<BR>Sent: 8 December 2004 07:03<BR>To: <A 
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A><BR>Subject: 
[UMN_MAPSERVER-USERS] Just trying to get a better understanding.</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=Arial size=2>
<DIV><BR>I have this simple shapefile:</DIV>
<DIV>&nbsp;</DIV>
<DIV>File Bounds: ( 6471392.899,&nbsp; 
282843.628,0,0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to&nbsp; ( 
8433025.828, 2304680.124,0,0)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Shape:0 (Point)&nbsp; nVertices=1, nParts=0<BR>&nbsp; Bounds:( 7750718.722, 
1391592.674, 0, 0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to ( 7750718.722, 
1391592.674, 0, 0)<BR>&nbsp;&nbsp;&nbsp;&nbsp; ( 7750718.722, 1391592.674, 0, 
0)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Shape:1 (Point)&nbsp; nVertices=1, nParts=0<BR>&nbsp; Bounds:( 6471392.899, 
2304680.124, 0, 0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to ( 6471392.899, 
2304680.124, 0, 0)<BR>&nbsp;&nbsp;&nbsp;&nbsp; ( 6471392.899, 2304680.124, 0, 
0)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Shape:2 (Point)&nbsp; nVertices=1, nParts=0<BR>&nbsp; Bounds:( 
8433025.828,&nbsp; 282843.628, 0, 0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to ( 
8433025.828,&nbsp; 282843.628, 0, 0)<BR>&nbsp;&nbsp;&nbsp;&nbsp; ( 
8433025.828,&nbsp; 282843.628, 0, 0)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Shape:3 (Point)&nbsp; nVertices=1, nParts=0<BR>&nbsp; Bounds:( 6862716.092, 
1226032.862, 0, 0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to ( 6862716.092, 
1226032.862, 0, 0)<BR>&nbsp;&nbsp;&nbsp;&nbsp; ( 6862716.092, 1226032.862, 0, 
0)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Shape:4 (Point)&nbsp; nVertices=1, nParts=0<BR>&nbsp; Bounds:( 7249022.321, 
1677559.623, 0, 0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to ( 7249022.321, 
1677559.623, 0, 0)<BR>&nbsp;&nbsp;&nbsp;&nbsp; ( 7249022.321, 1677559.623, 0, 
0)</DIV>
<DIV>&nbsp;</DIV>
<DIV>And it relates to this dbf file:</DIV>
<DIV>&nbsp;</DIV>
<DIV>7750718.72:1391592.67:Fred Flinstone<BR>6471392.9:2304680.12:Jeff 
Jackson<BR>8433025.83:282843.63:Trueman 
Polygonas<BR>6862716.09:1226032.86:Alfred Espinoza<BR>7249022.32:1677559.62:Jim 
Apple</DIV>
<DIV>&nbsp;</DIV>
<DIV>I can bring this layer into place over my main map file and I see 
the<BR>points. What I do not see is the relationship between the xy coordinates 
in<BR>the dbf file and the Bounds in the shape file.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can someone give me an understanding of this?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print 
@c=map 
chr<BR>$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,14,-<BR>68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);<BR></FONT></DIV></BODY></HTML>