helper stuff to read geom tables from a db using readOGR in R