I\'d like to convert a DataFrame to a SpatialPolygonsDataFrame but I get an error message:
Error in .local(obj, ...) : cannot derive coordinates from non