SpatialToPBS function

converts spatial objects as defined in package sp to simpler PBSmapping type dataframes