Validate coordinate