fixes metadata url and intersecting polygons