fixed bugs; added ability to generate GeoJSON from xy bounds