Skip to main content
added 27 characters in body
Source Link
gsa
  • 1.2k
  • 6
  • 19
  • 29

I have several shapefiels that i have to turn into raster. Here's the coastline

coastline<-readShapeSpatial("shp")
r <- raster(ncols=90, nrows=45)
jd<-rasterize(coastline,r)
plot(jd)

it gives an empty thing with no map, a blank thing.

I have several shapefiels that i have to turn into raster. Here's the coastline

coastline<-readShapeSpatial("shp")
r <- raster(ncols=90, nrows=45)
jd<-rasterize(coastline,r)
plot(jd)

it gives an empty thing.

I have several shapefiels that i have to turn into raster. Here's the coastline

coastline<-readShapeSpatial("shp")
r <- raster(ncols=90, nrows=45)
jd<-rasterize(coastline,r)
plot(jd)

it gives an empty thing with no map, a blank thing.

Post Closed as "Duplicate" by Simbamangu, underdark
added 11 characters in body
Source Link
gsa
  • 1.2k
  • 6
  • 19
  • 29

I have several shapefiels that i have to turn into raster. Here's the coastline

coastline<-readShapeSpatial("shp")
r <- raster(ncols=90, nrows=45)
jd<-rasterize(coastline,r)
plot(jd)

this didn'tworkit gives an empty thing.

I have several shapefiels that i have to turn into raster. Here's the coastline

coastline<-readShapeSpatial("shp")
r <- raster(ncols=90, nrows=45)
jd<-rasterize(coastline,r)
plot(jd)

this didn'twork.

I have several shapefiels that i have to turn into raster. Here's the coastline

coastline<-readShapeSpatial("shp")
r <- raster(ncols=90, nrows=45)
jd<-rasterize(coastline,r)
plot(jd)

it gives an empty thing.

Source Link
gsa
  • 1.2k
  • 6
  • 19
  • 29
Loading