implemented some of the validations for geojson