Replaced gpclib with rgeos