Just trying to get a better understanding.

Joseph Norris sirronj at PACBELL.NET
Tue Dec 7 18:06:02 EST 2004


One other thing in relationship to this:

I see the relationship between these two files - what I should have said is
how does the point in this shape file get related to polygon layer over
which it is placed:

Here is a small piece of the polygon layer that my point layer is being set
on:

Shape:390 (Polygon)  nVertices=79, nParts=1
  Bounds:( 7091270.672, 2203412.020, 0, 0)
      to ( 7114687.249, 2225095.474, 0, 0)
     ( 7106539.625, 2223683.529, 0, 0) Ring
     ( 7107073.404, 2224036.544, 0, 0)
     ( 7109516.272, 2224755.101, 0, 0)
     ( 7111026.701, 2225020.821, 0, 0)
     ( 7113357.724, 2225095.474, 0, 0)
     ( 7114229.843, 2224828.220, 0, 0)
     ( 7114687.249, 2224090.517, 0, 0)
     ( 7114197.375, 2221750.336, 0, 0)
     ( 7113287.876, 2221431.009, 0, 0)
     ( 7110975.713, 2221240.198, 0, 0)
     ( 7111010.904, 2220374.664, 0, 0)
     ( 7111414.635, 2220013.530, 0, 0)
     ( 7111238.804, 2219054.601, 0, 0)
     ( 7109979.647, 2217948.346, 0, 0)
     ( 7109089.719, 2217859.091, 0, 0)
     ( 7108514.557, 2217488.765, 0, 0)
     ( 7108407.442, 2217036.591, 0, 0)
     ( 7108464.643, 2216304.490, 0, 0)
     ( 7108908.967, 2215780.978, 0, 0)
     ( 7108900.157, 2215022.703, 0, 0)
     ( 7108778.988, 2214844.903, 0, 0)
     ( 7107349.702, 2213889.993, 0, 0)
     ( 7106028.775, 2214103.545, 0, 0)
     ( 7105339.672, 2213997.179, 0, 0)
     ( 7104579.906, 2213680.968, 0, 0)
     ( 7103998.374, 2213202.054, 0, 0)
     ( 7103556.689, 2210076.635, 0, 0)
     ( 7103582.541, 2209252.433, 0, 0)
     ( 7103309.865, 2207988.811, 0, 0)
     ( 7103052.938, 2207524.770, 0, 0)
     ( 7101955.782, 2207001.556, 0, 0)
     ( 7101705.036, 2206646.581, 0, 0)
     ( 7101444.072, 2205616.007, 0, 0)
I have this simple shapefile:

File Bounds: ( 6471392.899,  282843.628,0,0)
         to  ( 8433025.828, 2304680.124,0,0)

Shape:0 (Point)  nVertices=1, nParts=0
  Bounds:( 7750718.722, 1391592.674, 0, 0)
      to ( 7750718.722, 1391592.674, 0, 0)
     ( 7750718.722, 1391592.674, 0, 0)

Shape:1 (Point)  nVertices=1, nParts=0
  Bounds:( 6471392.899, 2304680.124, 0, 0)
      to ( 6471392.899, 2304680.124, 0, 0)
     ( 6471392.899, 2304680.124, 0, 0)

Shape:2 (Point)  nVertices=1, nParts=0
  Bounds:( 8433025.828,  282843.628, 0, 0)
      to ( 8433025.828,  282843.628, 0, 0)
     ( 8433025.828,  282843.628, 0, 0)

Shape:3 (Point)  nVertices=1, nParts=0
  Bounds:( 6862716.092, 1226032.862, 0, 0)
      to ( 6862716.092, 1226032.862, 0, 0)
     ( 6862716.092, 1226032.862, 0, 0)

Shape:4 (Point)  nVertices=1, nParts=0
  Bounds:( 7249022.321, 1677559.623, 0, 0)
      to ( 7249022.321, 1677559.623, 0, 0)
     ( 7249022.321, 1677559.623, 0, 0)

And it relates to this dbf file:

7750718.72:1391592.67:Fred Flinstone
6471392.9:2304680.12:Jeff Jackson
8433025.83:282843.63:Trueman Polygonas
6862716.09:1226032.86:Alfred Espinoza
7249022.32:1677559.62:Jim Apple

I can bring this layer into place over my main map file and I see the
points. What I do not see is the relationship between the xy coordinates in
the dbf file and the Bounds in the shape file.

Can someone give me an understanding of this?

Thanks.


#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map chr
$_+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,-
68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);



More information about the mapserver-users mailing list