Gave up on handling shapefiles