geojson and rectangle fixes