Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Before spTransform
- summary(new)
- Object of class SpatialPointsDataFrame
- Coordinates:
- min max
- coords.x1 40.68967 40.73516
- coords.x2 -73.96243 -73.90697
- Is projected: TRUE
- proj4string :
- [+proj=lcc +lat_1=40.66666666666666 +lat_2=41.03333333333333
- +lat_0=40.16666666666666 +lon_0=-74 +x_0=300000.0000000001 +y_0=0
- +datum=NAD83 +units=us-ft +no_defs +ellps=GRS80 +towgs84=0,0,0]
- Number of points: 25
- new<-spTransform(new,CRS(proj4string(bb)))
- > summary(new)
- Object of class SpatialPointsDataFrame
- Coordinates:
- min max
- coords.x1 40.68967 40.73516
- coords.x2 -73.96243 -73.90697
- Is projected: TRUE
- proj4string :
- [+proj=lcc +lat_1=40.66666666666666 +lat_2=41.03333333333333
- +lat_0=40.16666666666666 +lon_0=-74 +x_0=300000 +y_0=0 +datum=NAD83
- +units=us-ft +no_defs +ellps=GRS80 +towgs84=0,0,0]
- Number of points: 25
- summary(bb)
- Object of class SpatialPolygonsDataFrame
- Coordinates:
- min max
- x 972619.7 1030453.5
- y 146772.0 208564.1
- Is projected: TRUE
- proj4string :
- [+proj=lcc +lat_1=40.66666666666666 +lat_2=41.03333333333333
- +lat_0=40.16666666666666 +lon_0=-74 +x_0=300000 +y_0=0 +datum=NAD83
- +units=us-ft +no_defs +ellps=GRS80 +towgs84=0,0,0]
Add Comment
Please, Sign In to add comment