[R-sig-Geo] Delimit a polygon for the region which is>, 1000 m from my raster altitude

sadaoui sadaouimahrez at outlook.com
Sat May 2 23:10:36 CEST 2015


Thank you "Robert Hijmans",

it works with this function ;

shapefile(pol3, "polygon3.shp") 


but I want to have the corresponding data to this shapefile.

I tried, as did you say :

"or use the SpatialPolygons object to create a SpatialPolygonsDataFrame
and then use writeOGR (that is what the shapefile function does for
you). "

I tried to follow this solution :

http://gis.stackexchange.com/questions/61633/r-convert-a-spatial-polygon-objet-to-spatial-polygon-data-frame

but I can not convert the spatial polygon to SpatialPolygonsDataFrame. sorry
i am a beginner in this field. 

thank you







--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Re-Delimit-a-polygon-for-the-region-which-is-1000-m-from-my-raster-altitude-tp7588152p7588155.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list