Database Reference
In-Depth Information
- attr(*, "parent.child")= num 1 1 1 1 1 1 1 1 1 1 ...
- attr(*, "shpType")= int 5
- attr(*, "prj")= chr "Unknown"
- attr(*, "projection")= num 1
While the shapefile itself consists of 16290 points that make up Philadelphia, it appears
that much of the polygon data associated with this shapefile is stored as an attribute of
myShapeFile . We should set that to a top level variable for easier access:
> myPolyData<-attr(myShapeFile,"PolyData")
Plotting this shapefile is a one-liner (see Figure 1-1 ):
> plotPolys(myShapeFile)
Search WWH ::




Custom Search