modified version of buildSFRshapefile2 to use OGR